buzzcasting-utils 1.8.7 → 1.9.0
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 +311 -234
- package/dist/buzzcasting-utils.esm.js +294 -246
- package/package.json +13 -11
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
declare interface Animation_2 {
|
|
2
|
+
duration: number;
|
|
3
|
+
}
|
|
4
|
+
export { Animation_2 as Animation }
|
|
5
|
+
|
|
1
6
|
export declare function anonymize(name: string): string;
|
|
2
7
|
|
|
3
8
|
export declare enum API {
|
|
@@ -30,8 +35,22 @@ export declare function attrs(attributes: NamedNodeMap): any;
|
|
|
30
35
|
|
|
31
36
|
export declare const awaitElement: (selector: string) => Promise<unknown>;
|
|
32
37
|
|
|
38
|
+
export declare interface Border {
|
|
39
|
+
stroke: number;
|
|
40
|
+
line: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
33
43
|
export declare function brandLogo(channel: string, size: string): string;
|
|
34
44
|
|
|
45
|
+
export declare interface Bubbles {
|
|
46
|
+
label: string;
|
|
47
|
+
size: string;
|
|
48
|
+
classlist: string;
|
|
49
|
+
force: number;
|
|
50
|
+
color: string;
|
|
51
|
+
multiplier: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
35
54
|
/**
|
|
36
55
|
* Convert string containing hyphens to camelCase
|
|
37
56
|
* @param str
|
|
@@ -52,6 +71,32 @@ export declare const camelToHyphen: (str: string) => string;
|
|
|
52
71
|
|
|
53
72
|
export declare const capitalizeFirstLetter: (prop: string) => string;
|
|
54
73
|
|
|
74
|
+
export declare interface CardCss {
|
|
75
|
+
avatar?: string;
|
|
76
|
+
backdrop?: string;
|
|
77
|
+
body?: string;
|
|
78
|
+
bodylayout?: string;
|
|
79
|
+
brand?: string;
|
|
80
|
+
canvas?: string;
|
|
81
|
+
card?: string;
|
|
82
|
+
container?: string;
|
|
83
|
+
dark?: boolean;
|
|
84
|
+
date?: string;
|
|
85
|
+
dynamics?: string;
|
|
86
|
+
globe?: string;
|
|
87
|
+
handle?: string;
|
|
88
|
+
host?: string;
|
|
89
|
+
image?: string;
|
|
90
|
+
kpi?: string;
|
|
91
|
+
label?: string;
|
|
92
|
+
name?: string;
|
|
93
|
+
play?: string;
|
|
94
|
+
sender?: string;
|
|
95
|
+
title?: string;
|
|
96
|
+
video?: string;
|
|
97
|
+
widget?: string;
|
|
98
|
+
}
|
|
99
|
+
|
|
55
100
|
/**
|
|
56
101
|
* Clear Container range contents of template code when the web component is connected to the DOM
|
|
57
102
|
* @param myNode
|
|
@@ -70,6 +115,30 @@ export declare interface CloudAttr {
|
|
|
70
115
|
class?: string | string[];
|
|
71
116
|
}
|
|
72
117
|
|
|
118
|
+
export declare interface CloudCss {
|
|
119
|
+
up: string;
|
|
120
|
+
down: string;
|
|
121
|
+
new: string;
|
|
122
|
+
arrowup: string;
|
|
123
|
+
arrowdown: string;
|
|
124
|
+
chart: string;
|
|
125
|
+
body: string;
|
|
126
|
+
brand: string;
|
|
127
|
+
count: string;
|
|
128
|
+
change: string;
|
|
129
|
+
highlight: string;
|
|
130
|
+
highlighted: string;
|
|
131
|
+
key: string;
|
|
132
|
+
host: string;
|
|
133
|
+
label: string;
|
|
134
|
+
legend: string;
|
|
135
|
+
row: string;
|
|
136
|
+
separator: string;
|
|
137
|
+
title: string;
|
|
138
|
+
widget: string;
|
|
139
|
+
words: string;
|
|
140
|
+
}
|
|
141
|
+
|
|
73
142
|
export declare interface Component {
|
|
74
143
|
path: string;
|
|
75
144
|
query: string;
|
|
@@ -87,21 +156,20 @@ export declare interface Content {
|
|
|
87
156
|
attr: MessagesAttr;
|
|
88
157
|
}
|
|
89
158
|
|
|
90
|
-
export declare interface
|
|
91
|
-
|
|
92
|
-
geometries: CountriesGeometry[];
|
|
159
|
+
export declare interface Count {
|
|
160
|
+
width: string;
|
|
93
161
|
}
|
|
94
162
|
|
|
95
163
|
export declare interface CountriesGeometry {
|
|
96
|
-
type:
|
|
164
|
+
type: GeoType;
|
|
97
165
|
arcs: Array<Array<number[] | number>>;
|
|
98
166
|
id?: string;
|
|
99
167
|
properties: CountryProperties;
|
|
100
168
|
}
|
|
101
169
|
|
|
102
170
|
export declare interface CountryObjects {
|
|
103
|
-
countries:
|
|
104
|
-
land:
|
|
171
|
+
countries: GeoCountries;
|
|
172
|
+
land: GeoLand;
|
|
105
173
|
}
|
|
106
174
|
|
|
107
175
|
export declare interface CountryProperties {
|
|
@@ -128,13 +196,24 @@ declare enum CSS_2 {
|
|
|
128
196
|
SLIDE = "color:black;background-color:yellow;padding:0 4px 0 4px;border-radius:5px;",
|
|
129
197
|
STORAGE = "color:black;background-color:cyan;padding:0 4px 0 4px;border-radius:5px;",
|
|
130
198
|
SUBSCRIBE = "color:white;background-color:dodgerblue;padding:0 4px 0 4px;border-radius:5px;",
|
|
131
|
-
WIDGET = "color:
|
|
199
|
+
WIDGET = "color:black;background-color:lemonchiffon;padding:0 4px 0 4px;border-radius:5px;",
|
|
132
200
|
WS = "color:white;background-color:green;padding:0 4px 0 4px;border-radius:5px;"
|
|
133
201
|
}
|
|
134
202
|
export { CSS_2 as CSS }
|
|
135
203
|
|
|
204
|
+
export declare interface Data {
|
|
205
|
+
dashboard: string;
|
|
206
|
+
type: string;
|
|
207
|
+
widget: string;
|
|
208
|
+
}
|
|
209
|
+
|
|
136
210
|
export declare function deepMerge(objs: any): void;
|
|
137
211
|
|
|
212
|
+
export declare interface Dimensions {
|
|
213
|
+
width: number;
|
|
214
|
+
height: number;
|
|
215
|
+
}
|
|
216
|
+
|
|
138
217
|
declare const escape_2: (htmlStr: string) => string;
|
|
139
218
|
export { escape_2 as escape }
|
|
140
219
|
|
|
@@ -218,8 +297,30 @@ export declare enum EVENTS {
|
|
|
218
297
|
|
|
219
298
|
export declare function filterAttributes(attributes: NamedNodeMap): IFilteredAttributes;
|
|
220
299
|
|
|
300
|
+
export declare const flatten: (obj: any, res?: {}, parentKey?: string) => {};
|
|
301
|
+
|
|
221
302
|
export declare function formatContent(message: IMessage, titleCss?: string): string;
|
|
222
303
|
|
|
304
|
+
export declare interface Gap {
|
|
305
|
+
column: string;
|
|
306
|
+
row: string;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export declare interface GeoCountries {
|
|
310
|
+
type: string;
|
|
311
|
+
geometries: CountriesGeometry[];
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export declare interface GeoLand {
|
|
315
|
+
type: string;
|
|
316
|
+
geometries: LandGeometry[];
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export declare enum GeoType {
|
|
320
|
+
MultiPolygon = "MultiPolygon",
|
|
321
|
+
Polygon = "Polygon"
|
|
322
|
+
}
|
|
323
|
+
|
|
223
324
|
export declare const getGuid: () => string;
|
|
224
325
|
|
|
225
326
|
export declare function getKey(query: IQuery): string;
|
|
@@ -228,10 +329,21 @@ export declare function getParameterByName(key: string): string | null;
|
|
|
228
329
|
|
|
229
330
|
export declare const getQueryParam: (param: string) => any;
|
|
230
331
|
|
|
332
|
+
export declare interface Globe {
|
|
333
|
+
border: Border;
|
|
334
|
+
land: Land;
|
|
335
|
+
}
|
|
336
|
+
|
|
231
337
|
export declare function hashSum(o: any): string | any[];
|
|
232
338
|
|
|
233
339
|
export declare const hasHWA: () => boolean;
|
|
234
340
|
|
|
341
|
+
declare interface Highlight_2 {
|
|
342
|
+
label: string;
|
|
343
|
+
color: string;
|
|
344
|
+
}
|
|
345
|
+
export { Highlight_2 as Highlight }
|
|
346
|
+
|
|
235
347
|
export declare const html2json: (html: string) => {
|
|
236
348
|
node: string;
|
|
237
349
|
child: never[];
|
|
@@ -291,36 +403,63 @@ export declare interface IBrand {
|
|
|
291
403
|
}
|
|
292
404
|
|
|
293
405
|
export declare interface ICardAttributes {
|
|
294
|
-
layout?: "base" | "globe" | "carousel";
|
|
406
|
+
layout?: "" | "none" | "base" | "globe" | "carousel";
|
|
295
407
|
component: string;
|
|
296
|
-
"data-type": "messages" | "cloud" | "series";
|
|
408
|
+
"data-type": "messages" | "cloud" | "series" | "contents";
|
|
297
409
|
"data-order"?: string;
|
|
298
410
|
"data-dashboard": string;
|
|
299
411
|
"data-widget": string;
|
|
300
412
|
"data-limit"?: string;
|
|
413
|
+
"css-avatar"?: string[];
|
|
414
|
+
"css-backdrop"?: string[];
|
|
301
415
|
"css-body"?: string[];
|
|
302
416
|
"css-brand"?: string[];
|
|
303
417
|
"css-card"?: string[];
|
|
418
|
+
"css-container"?: string[];
|
|
304
419
|
"css-date"?: string[];
|
|
420
|
+
"css-dynamics"?: string[];
|
|
305
421
|
"css-handle"?: string[];
|
|
422
|
+
"css-host"?: string[];
|
|
423
|
+
"css-image"?: string[];
|
|
424
|
+
"css-kpi"?: string[];
|
|
425
|
+
"css-label"?: string[];
|
|
306
426
|
"css-name"?: string[];
|
|
427
|
+
"css-play"?: string[];
|
|
428
|
+
"css-sender"?: string[];
|
|
429
|
+
"css-title"?: string[];
|
|
430
|
+
"css-video"?: string[];
|
|
431
|
+
"css-widget"?: string[];
|
|
307
432
|
"date-format"?: string;
|
|
308
433
|
"time-format"?: string;
|
|
309
|
-
"
|
|
310
|
-
"show-
|
|
311
|
-
"show-
|
|
312
|
-
|
|
434
|
+
"date-locale"?: string;
|
|
435
|
+
"show-approve?": boolean;
|
|
436
|
+
"show-avatar"?: boolean;
|
|
437
|
+
"show-brand"?: boolean;
|
|
438
|
+
"show-date"?: boolean;
|
|
439
|
+
"show-dynamics"?: boolean;
|
|
440
|
+
"show-handle"?: boolean;
|
|
441
|
+
"show-kpi"?: boolean;
|
|
442
|
+
"show-name"?: boolean;
|
|
443
|
+
"show-play"?: boolean;
|
|
444
|
+
"show-sender"?: boolean;
|
|
445
|
+
"show-star"?: boolean;
|
|
446
|
+
"show-visible"?: boolean;
|
|
447
|
+
"show-debug"?: boolean;
|
|
448
|
+
animation?: boolean;
|
|
313
449
|
interval?: string;
|
|
450
|
+
speed?: string;
|
|
314
451
|
}
|
|
315
452
|
|
|
316
453
|
export declare interface ICardOptions {
|
|
317
454
|
animation?: IAnimation;
|
|
318
455
|
brand?: IBrand;
|
|
319
|
-
css?:
|
|
320
|
-
globe?: IGlobe;
|
|
456
|
+
css?: CardCss;
|
|
321
457
|
dateformat?: IDateFormat;
|
|
322
|
-
show?: IShow;
|
|
323
458
|
debug?: boolean;
|
|
459
|
+
delay?: number;
|
|
460
|
+
globe?: IGlobe;
|
|
461
|
+
locale?: string;
|
|
462
|
+
show?: IShow;
|
|
324
463
|
}
|
|
325
464
|
|
|
326
465
|
export declare interface ICategory {
|
|
@@ -341,77 +480,6 @@ export declare interface ICloud {
|
|
|
341
480
|
previous_total: number;
|
|
342
481
|
}
|
|
343
482
|
|
|
344
|
-
export declare interface ICloudAnimation {
|
|
345
|
-
interval: number;
|
|
346
|
-
animation: number;
|
|
347
|
-
speed: string;
|
|
348
|
-
parentTag: string;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
export declare interface ICloudBubbles {
|
|
352
|
-
size: number;
|
|
353
|
-
classlist: string;
|
|
354
|
-
force: number;
|
|
355
|
-
color: string;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
export declare interface ICloudConfig {
|
|
359
|
-
items?: number;
|
|
360
|
-
chunk?: number;
|
|
361
|
-
fixed?: number;
|
|
362
|
-
abbreviate?: boolean;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
export declare interface ICloudCss {
|
|
366
|
-
arrowdown?: string;
|
|
367
|
-
arrowup?: string;
|
|
368
|
-
backdrop?: string;
|
|
369
|
-
body?: string;
|
|
370
|
-
brand?: string;
|
|
371
|
-
change?: string;
|
|
372
|
-
chart?: string;
|
|
373
|
-
count?: string;
|
|
374
|
-
container?: string;
|
|
375
|
-
date?: string;
|
|
376
|
-
down?: string;
|
|
377
|
-
host?: string;
|
|
378
|
-
image?: string;
|
|
379
|
-
key?: string;
|
|
380
|
-
legend?: string;
|
|
381
|
-
title?: string;
|
|
382
|
-
up?: string;
|
|
383
|
-
widget?: string;
|
|
384
|
-
dark?: boolean;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
export declare interface ICloudD3 {
|
|
388
|
-
globe: {
|
|
389
|
-
colors: {
|
|
390
|
-
arc: string;
|
|
391
|
-
border: string;
|
|
392
|
-
country: string;
|
|
393
|
-
land: string;
|
|
394
|
-
sphere: string;
|
|
395
|
-
};
|
|
396
|
-
settings?: {
|
|
397
|
-
canvas?: string;
|
|
398
|
-
card?: string;
|
|
399
|
-
width?: number;
|
|
400
|
-
height?: number;
|
|
401
|
-
};
|
|
402
|
-
};
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
export declare interface ICloudDateFormat {
|
|
406
|
-
time?: string;
|
|
407
|
-
date?: string;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
export declare interface ICloudDimensions {
|
|
411
|
-
width: number;
|
|
412
|
-
height: number;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
483
|
declare interface ICloudIndicators {
|
|
416
484
|
total: number;
|
|
417
485
|
positive: number;
|
|
@@ -423,7 +491,7 @@ declare interface ICloudIndicators {
|
|
|
423
491
|
}
|
|
424
492
|
|
|
425
493
|
export declare interface ICloudInfluencers {
|
|
426
|
-
labels?:
|
|
494
|
+
labels?: InfluencerLabel[];
|
|
427
495
|
title?: string;
|
|
428
496
|
current?: ICloudInfluencersData[];
|
|
429
497
|
previous?: ICloudInfluencersData[];
|
|
@@ -453,57 +521,35 @@ export declare interface ICloudInfluencersData {
|
|
|
453
521
|
country: string;
|
|
454
522
|
}
|
|
455
523
|
|
|
456
|
-
export declare interface ICloudKpi {
|
|
457
|
-
name: string;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
export declare interface ICloudLegend {
|
|
461
|
-
count?: {
|
|
462
|
-
width?: string;
|
|
463
|
-
height?: string;
|
|
464
|
-
};
|
|
465
|
-
key: {
|
|
466
|
-
width: string;
|
|
467
|
-
};
|
|
468
|
-
width: string;
|
|
469
|
-
position: string;
|
|
470
|
-
gap?: {
|
|
471
|
-
column: string;
|
|
472
|
-
row: string;
|
|
473
|
-
};
|
|
474
|
-
show: {
|
|
475
|
-
percentage: boolean;
|
|
476
|
-
};
|
|
477
|
-
}
|
|
478
|
-
|
|
479
524
|
export declare interface ICloudOptions {
|
|
480
|
-
animation?:
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
525
|
+
animation?: number;
|
|
526
|
+
interval?: number;
|
|
527
|
+
speed?: string;
|
|
528
|
+
component?: string;
|
|
529
|
+
css?: CloudCss;
|
|
530
|
+
bubbles?: Bubbles;
|
|
531
|
+
config?: IConfig;
|
|
532
|
+
colors?: string;
|
|
533
|
+
data?: Data;
|
|
534
|
+
time?: ITime;
|
|
535
|
+
date?: IDate;
|
|
536
|
+
debug?: boolean;
|
|
537
|
+
dimensions?: Dimensions;
|
|
538
|
+
globe?: Globe;
|
|
539
|
+
highlight?: Highlight_2;
|
|
540
|
+
kpi?: Kpi;
|
|
541
|
+
legend?: Legend;
|
|
542
|
+
pie?: Pie;
|
|
543
|
+
show?: ShowOptions;
|
|
544
|
+
words?: Words;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
declare interface IConfig {
|
|
548
|
+
fixed: number;
|
|
549
|
+
abbreviate: boolean;
|
|
550
|
+
chunk?: number;
|
|
551
|
+
items?: number;
|
|
552
|
+
label?: string;
|
|
507
553
|
}
|
|
508
554
|
|
|
509
555
|
export declare interface ICountries {
|
|
@@ -518,29 +564,6 @@ export declare interface ICountry {
|
|
|
518
564
|
fillStyle: string;
|
|
519
565
|
}
|
|
520
566
|
|
|
521
|
-
export declare interface ICss {
|
|
522
|
-
avatar?: string;
|
|
523
|
-
backdrop?: string;
|
|
524
|
-
body?: string;
|
|
525
|
-
brand?: string;
|
|
526
|
-
card?: string;
|
|
527
|
-
container?: string;
|
|
528
|
-
dark?: boolean;
|
|
529
|
-
date?: string;
|
|
530
|
-
dynamics?: string;
|
|
531
|
-
handle?: string;
|
|
532
|
-
host?: string;
|
|
533
|
-
image?: string;
|
|
534
|
-
kpi?: string;
|
|
535
|
-
label?: string;
|
|
536
|
-
name?: string;
|
|
537
|
-
play?: string;
|
|
538
|
-
sender?: string;
|
|
539
|
-
title?: string;
|
|
540
|
-
video?: string;
|
|
541
|
-
widget?: string;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
567
|
export declare interface ID3Bubbles {
|
|
545
568
|
size: number;
|
|
546
569
|
force: number;
|
|
@@ -617,12 +640,21 @@ export declare interface IDashboards {
|
|
|
617
640
|
dashboards: IDashboard[];
|
|
618
641
|
}
|
|
619
642
|
|
|
643
|
+
declare interface IDate {
|
|
644
|
+
format: string;
|
|
645
|
+
}
|
|
646
|
+
|
|
620
647
|
export declare interface IDateFormat {
|
|
621
648
|
time?: string;
|
|
622
649
|
date?: string;
|
|
623
650
|
locale?: string;
|
|
624
651
|
}
|
|
625
652
|
|
|
653
|
+
declare interface IDimensions {
|
|
654
|
+
width: number;
|
|
655
|
+
height: number;
|
|
656
|
+
}
|
|
657
|
+
|
|
626
658
|
export declare interface IDynamics {
|
|
627
659
|
engagement?: number;
|
|
628
660
|
video_views?: number;
|
|
@@ -682,8 +714,6 @@ export declare interface IGlobe {
|
|
|
682
714
|
country: string;
|
|
683
715
|
land: string;
|
|
684
716
|
sphere: string;
|
|
685
|
-
canvas?: string;
|
|
686
|
-
card?: string;
|
|
687
717
|
width?: number;
|
|
688
718
|
height?: number;
|
|
689
719
|
}
|
|
@@ -921,6 +951,12 @@ export declare interface IModal {
|
|
|
921
951
|
timeout?: number;
|
|
922
952
|
}
|
|
923
953
|
|
|
954
|
+
export declare interface InfluencerLabel {
|
|
955
|
+
label: string;
|
|
956
|
+
count: number;
|
|
957
|
+
info: string;
|
|
958
|
+
}
|
|
959
|
+
|
|
924
960
|
export declare const intToString: (num: any, digits?: number, abbreviate?: boolean, locale?: string) => string;
|
|
925
961
|
|
|
926
962
|
export declare interface IPreference {
|
|
@@ -1029,50 +1065,6 @@ export declare interface ISeries {
|
|
|
1029
1065
|
timestamp?: number;
|
|
1030
1066
|
}
|
|
1031
1067
|
|
|
1032
|
-
export declare interface ISeriesConfig {
|
|
1033
|
-
fixed?: number;
|
|
1034
|
-
abbreviate?: boolean;
|
|
1035
|
-
label?: string;
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
export declare interface ISeriesCss {
|
|
1039
|
-
arrowdown?: string;
|
|
1040
|
-
arrowup?: string;
|
|
1041
|
-
backdrop?: string;
|
|
1042
|
-
body?: string;
|
|
1043
|
-
brand?: string;
|
|
1044
|
-
change?: string;
|
|
1045
|
-
count?: string;
|
|
1046
|
-
container?: string;
|
|
1047
|
-
date?: string;
|
|
1048
|
-
down?: string;
|
|
1049
|
-
host?: string;
|
|
1050
|
-
image?: string;
|
|
1051
|
-
label?: string;
|
|
1052
|
-
title?: string;
|
|
1053
|
-
up?: string;
|
|
1054
|
-
widget?: string;
|
|
1055
|
-
dark?: boolean;
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
export declare interface ISeriesD3 {
|
|
1059
|
-
globe: {
|
|
1060
|
-
colors: {
|
|
1061
|
-
arc: string;
|
|
1062
|
-
border: string;
|
|
1063
|
-
country: string;
|
|
1064
|
-
land: string;
|
|
1065
|
-
sphere: string;
|
|
1066
|
-
};
|
|
1067
|
-
settings?: {
|
|
1068
|
-
canvas?: string;
|
|
1069
|
-
card?: string;
|
|
1070
|
-
width?: number;
|
|
1071
|
-
height?: number;
|
|
1072
|
-
};
|
|
1073
|
-
};
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
1068
|
export declare interface ISeriesData {
|
|
1077
1069
|
name?: string;
|
|
1078
1070
|
label?: string;
|
|
@@ -1084,28 +1076,21 @@ export declare interface ISeriesData {
|
|
|
1084
1076
|
previous_category?: number;
|
|
1085
1077
|
}
|
|
1086
1078
|
|
|
1087
|
-
export declare interface ISeriesDateFormat {
|
|
1088
|
-
time?: string;
|
|
1089
|
-
date?: string;
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
1079
|
export declare interface ISeriesOptions {
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
export declare interface ISeriesShow {
|
|
1101
|
-
brand?: boolean;
|
|
1102
|
-
date?: boolean;
|
|
1080
|
+
colors?: string;
|
|
1081
|
+
css?: SeriesCss;
|
|
1082
|
+
time?: ITime;
|
|
1083
|
+
date?: IDate;
|
|
1084
|
+
dimensions?: IDimensions;
|
|
1085
|
+
show?: Show;
|
|
1086
|
+
config?: IConfig;
|
|
1103
1087
|
}
|
|
1104
1088
|
|
|
1105
1089
|
export declare interface IShow {
|
|
1106
1090
|
approve?: boolean;
|
|
1107
1091
|
avatar?: boolean;
|
|
1108
1092
|
brand?: boolean;
|
|
1093
|
+
carousel?: boolean;
|
|
1109
1094
|
date?: boolean;
|
|
1110
1095
|
dynamics?: boolean;
|
|
1111
1096
|
handle?: boolean;
|
|
@@ -1143,7 +1128,12 @@ export declare interface IStorageOptions {
|
|
|
1143
1128
|
delay?: number;
|
|
1144
1129
|
display?: string;
|
|
1145
1130
|
domain?: string;
|
|
1131
|
+
favorite?: boolean;
|
|
1132
|
+
firefox?: boolean;
|
|
1133
|
+
generateCss?: boolean;
|
|
1146
1134
|
html?: boolean;
|
|
1135
|
+
interval?: number;
|
|
1136
|
+
link?: string;
|
|
1147
1137
|
locale: string;
|
|
1148
1138
|
loglevel?: number;
|
|
1149
1139
|
moderation?: string;
|
|
@@ -1157,8 +1147,14 @@ export declare interface IStorageOptions {
|
|
|
1157
1147
|
slides?: string[];
|
|
1158
1148
|
storage: string;
|
|
1159
1149
|
suspended?: boolean;
|
|
1150
|
+
switch?: boolean;
|
|
1160
1151
|
token?: string;
|
|
1161
1152
|
version: string;
|
|
1153
|
+
workers?: boolean;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
declare interface ITime {
|
|
1157
|
+
format: string;
|
|
1162
1158
|
}
|
|
1163
1159
|
|
|
1164
1160
|
export declare interface ITopic {
|
|
@@ -1234,23 +1230,56 @@ export declare interface JsonChild {
|
|
|
1234
1230
|
child: JsonChild[];
|
|
1235
1231
|
}
|
|
1236
1232
|
|
|
1233
|
+
export declare interface Key {
|
|
1234
|
+
width: string;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
export declare interface Kpi {
|
|
1238
|
+
name: string;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1237
1241
|
export declare interface Label {
|
|
1238
|
-
|
|
1239
|
-
count: number;
|
|
1240
|
-
info: string;
|
|
1242
|
+
width: string;
|
|
1241
1243
|
}
|
|
1242
1244
|
|
|
1243
1245
|
export declare interface Land {
|
|
1244
|
-
|
|
1245
|
-
geometries: LandGeometry[];
|
|
1246
|
+
fill: string;
|
|
1246
1247
|
}
|
|
1247
1248
|
|
|
1248
1249
|
export declare interface LandGeometry {
|
|
1249
|
-
type:
|
|
1250
|
+
type: GeoType;
|
|
1250
1251
|
arcs: Array<Array<number[]>>;
|
|
1251
1252
|
}
|
|
1252
1253
|
|
|
1253
|
-
export declare
|
|
1254
|
+
export declare interface Legend {
|
|
1255
|
+
key: Key;
|
|
1256
|
+
label: Label;
|
|
1257
|
+
count: Count;
|
|
1258
|
+
width: string;
|
|
1259
|
+
position: string;
|
|
1260
|
+
show: LegendShow;
|
|
1261
|
+
gap: Gap;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
export declare interface LegendShow {
|
|
1265
|
+
percentage: boolean;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
/**
|
|
1269
|
+
* Send Message to worker, don't block the main thread
|
|
1270
|
+
*
|
|
1271
|
+
* @param level Log Level
|
|
1272
|
+
*
|
|
1273
|
+
* @returns
|
|
1274
|
+
*/
|
|
1275
|
+
export declare const log: (level: number | string | undefined, message: any[]) => Promise<void>;
|
|
1276
|
+
|
|
1277
|
+
export declare const logging: {
|
|
1278
|
+
add: (level: number | string) => void;
|
|
1279
|
+
clear: () => void;
|
|
1280
|
+
delete: (level: number | string) => void;
|
|
1281
|
+
list: () => void;
|
|
1282
|
+
};
|
|
1254
1283
|
|
|
1255
1284
|
export declare const maxifyCss: (css: string) => string;
|
|
1256
1285
|
|
|
@@ -1296,6 +1325,21 @@ export declare function moderation(options: IStorageOptions, query: IQuery): IQu
|
|
|
1296
1325
|
|
|
1297
1326
|
export declare function numberFormatter(num: number, digits: number): string;
|
|
1298
1327
|
|
|
1328
|
+
export declare interface Percentage {
|
|
1329
|
+
count: boolean;
|
|
1330
|
+
change: boolean;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
export declare interface Pie {
|
|
1334
|
+
radius: Radius;
|
|
1335
|
+
animation: Animation_2;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
export declare interface Radius {
|
|
1339
|
+
inner: number;
|
|
1340
|
+
outer: number;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1299
1343
|
export declare const randomColor: () => string;
|
|
1300
1344
|
|
|
1301
1345
|
export declare const randomRGB: () => string;
|
|
@@ -1340,6 +1384,21 @@ export declare interface SeriesAttr {
|
|
|
1340
1384
|
class?: string | string[];
|
|
1341
1385
|
}
|
|
1342
1386
|
|
|
1387
|
+
export declare interface SeriesCss {
|
|
1388
|
+
arrowdown: string;
|
|
1389
|
+
arrowup: string;
|
|
1390
|
+
body: string;
|
|
1391
|
+
brand: string;
|
|
1392
|
+
change: string;
|
|
1393
|
+
count: string;
|
|
1394
|
+
down: string;
|
|
1395
|
+
host: string;
|
|
1396
|
+
label: string;
|
|
1397
|
+
title: string;
|
|
1398
|
+
up: string;
|
|
1399
|
+
widget: string;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1343
1402
|
export declare interface Settings {
|
|
1344
1403
|
contents: Content[];
|
|
1345
1404
|
component: Component;
|
|
@@ -1350,8 +1409,24 @@ export declare enum ShapeType {
|
|
|
1350
1409
|
Polygon = "Polygon"
|
|
1351
1410
|
}
|
|
1352
1411
|
|
|
1412
|
+
export declare interface Show {
|
|
1413
|
+
brand: boolean;
|
|
1414
|
+
percentage: Percentage;
|
|
1415
|
+
date: boolean;
|
|
1416
|
+
kpi: boolean;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1353
1419
|
export declare function showModal(e: MouseEvent, widget: any, message: IMessage, options: any): void;
|
|
1354
1420
|
|
|
1421
|
+
export declare interface ShowOptions {
|
|
1422
|
+
emojis: boolean;
|
|
1423
|
+
brand: boolean;
|
|
1424
|
+
date: boolean;
|
|
1425
|
+
gradient: boolean;
|
|
1426
|
+
hashtags: boolean;
|
|
1427
|
+
trend: boolean;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1355
1430
|
export declare function shuffleMessages(messages: IMessage[]): IMessage[];
|
|
1356
1431
|
|
|
1357
1432
|
export declare enum STORAGE {
|
|
@@ -1373,11 +1448,6 @@ export declare interface Transform {
|
|
|
1373
1448
|
translate: number[];
|
|
1374
1449
|
}
|
|
1375
1450
|
|
|
1376
|
-
export declare enum Type {
|
|
1377
|
-
MultiPolygon = "MultiPolygon",
|
|
1378
|
-
Polygon = "Polygon"
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
1451
|
export declare const typeCss: (query: IQuery | undefined) => string;
|
|
1382
1452
|
|
|
1383
1453
|
export declare const uniq: (length?: number, existing?: never[]) => string;
|
|
@@ -1388,6 +1458,13 @@ export declare const upDownColor: (change: number) => "text-down text-xs" | "tex
|
|
|
1388
1458
|
|
|
1389
1459
|
export declare function widgetParams(query: IQuery): IQuery;
|
|
1390
1460
|
|
|
1461
|
+
export declare interface Words {
|
|
1462
|
+
duration: number;
|
|
1463
|
+
multiplier: number;
|
|
1464
|
+
padding: number;
|
|
1465
|
+
range: string;
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1391
1468
|
export declare const wrapPromise: (promise: any, delay: number, reason: string) => Promise<any>;
|
|
1392
1469
|
|
|
1393
1470
|
export declare interface XAxis {
|