buzzcasting-utils 1.8.8 → 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 +270 -226
- 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[];
|
|
@@ -341,9 +453,10 @@ export declare interface ICardAttributes {
|
|
|
341
453
|
export declare interface ICardOptions {
|
|
342
454
|
animation?: IAnimation;
|
|
343
455
|
brand?: IBrand;
|
|
344
|
-
css?:
|
|
456
|
+
css?: CardCss;
|
|
345
457
|
dateformat?: IDateFormat;
|
|
346
458
|
debug?: boolean;
|
|
459
|
+
delay?: number;
|
|
347
460
|
globe?: IGlobe;
|
|
348
461
|
locale?: string;
|
|
349
462
|
show?: IShow;
|
|
@@ -367,77 +480,6 @@ export declare interface ICloud {
|
|
|
367
480
|
previous_total: number;
|
|
368
481
|
}
|
|
369
482
|
|
|
370
|
-
export declare interface ICloudAnimation {
|
|
371
|
-
interval: number;
|
|
372
|
-
animation: number;
|
|
373
|
-
speed: string;
|
|
374
|
-
parentTag: string;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
export declare interface ICloudBubbles {
|
|
378
|
-
size: number;
|
|
379
|
-
classlist: string;
|
|
380
|
-
force: number;
|
|
381
|
-
color: string;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
export declare interface ICloudConfig {
|
|
385
|
-
items?: number;
|
|
386
|
-
chunk?: number;
|
|
387
|
-
fixed?: number;
|
|
388
|
-
abbreviate?: boolean;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
export declare interface ICloudCss {
|
|
392
|
-
arrowdown?: string;
|
|
393
|
-
arrowup?: string;
|
|
394
|
-
backdrop?: string;
|
|
395
|
-
body?: string;
|
|
396
|
-
brand?: string;
|
|
397
|
-
change?: string;
|
|
398
|
-
chart?: string;
|
|
399
|
-
count?: string;
|
|
400
|
-
container?: string;
|
|
401
|
-
date?: string;
|
|
402
|
-
down?: string;
|
|
403
|
-
host?: string;
|
|
404
|
-
image?: string;
|
|
405
|
-
key?: string;
|
|
406
|
-
legend?: string;
|
|
407
|
-
title?: string;
|
|
408
|
-
up?: string;
|
|
409
|
-
widget?: string;
|
|
410
|
-
dark?: boolean;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
export declare interface ICloudD3 {
|
|
414
|
-
globe: {
|
|
415
|
-
colors: {
|
|
416
|
-
arc: string;
|
|
417
|
-
border: string;
|
|
418
|
-
country: string;
|
|
419
|
-
land: string;
|
|
420
|
-
sphere: string;
|
|
421
|
-
};
|
|
422
|
-
settings?: {
|
|
423
|
-
canvas?: string;
|
|
424
|
-
card?: string;
|
|
425
|
-
width?: number;
|
|
426
|
-
height?: number;
|
|
427
|
-
};
|
|
428
|
-
};
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
export declare interface ICloudDateFormat {
|
|
432
|
-
time?: string;
|
|
433
|
-
date?: string;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
export declare interface ICloudDimensions {
|
|
437
|
-
width: number;
|
|
438
|
-
height: number;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
483
|
declare interface ICloudIndicators {
|
|
442
484
|
total: number;
|
|
443
485
|
positive: number;
|
|
@@ -449,7 +491,7 @@ declare interface ICloudIndicators {
|
|
|
449
491
|
}
|
|
450
492
|
|
|
451
493
|
export declare interface ICloudInfluencers {
|
|
452
|
-
labels?:
|
|
494
|
+
labels?: InfluencerLabel[];
|
|
453
495
|
title?: string;
|
|
454
496
|
current?: ICloudInfluencersData[];
|
|
455
497
|
previous?: ICloudInfluencersData[];
|
|
@@ -479,57 +521,35 @@ export declare interface ICloudInfluencersData {
|
|
|
479
521
|
country: string;
|
|
480
522
|
}
|
|
481
523
|
|
|
482
|
-
export declare interface ICloudKpi {
|
|
483
|
-
name: string;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
export declare interface ICloudLegend {
|
|
487
|
-
count?: {
|
|
488
|
-
width?: string;
|
|
489
|
-
height?: string;
|
|
490
|
-
};
|
|
491
|
-
key: {
|
|
492
|
-
width: string;
|
|
493
|
-
};
|
|
494
|
-
width: string;
|
|
495
|
-
position: string;
|
|
496
|
-
gap?: {
|
|
497
|
-
column: string;
|
|
498
|
-
row: string;
|
|
499
|
-
};
|
|
500
|
-
show: {
|
|
501
|
-
percentage: boolean;
|
|
502
|
-
};
|
|
503
|
-
}
|
|
504
|
-
|
|
505
524
|
export declare interface ICloudOptions {
|
|
506
|
-
animation?:
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
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;
|
|
533
553
|
}
|
|
534
554
|
|
|
535
555
|
export declare interface ICountries {
|
|
@@ -544,29 +564,6 @@ export declare interface ICountry {
|
|
|
544
564
|
fillStyle: string;
|
|
545
565
|
}
|
|
546
566
|
|
|
547
|
-
export declare interface ICss {
|
|
548
|
-
avatar?: string;
|
|
549
|
-
backdrop?: string;
|
|
550
|
-
body?: string;
|
|
551
|
-
brand?: string;
|
|
552
|
-
card?: string;
|
|
553
|
-
container?: string;
|
|
554
|
-
dark?: boolean;
|
|
555
|
-
date?: string;
|
|
556
|
-
dynamics?: string;
|
|
557
|
-
handle?: string;
|
|
558
|
-
host?: string;
|
|
559
|
-
image?: string;
|
|
560
|
-
kpi?: string;
|
|
561
|
-
label?: string;
|
|
562
|
-
name?: string;
|
|
563
|
-
play?: string;
|
|
564
|
-
sender?: string;
|
|
565
|
-
title?: string;
|
|
566
|
-
video?: string;
|
|
567
|
-
widget?: string;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
567
|
export declare interface ID3Bubbles {
|
|
571
568
|
size: number;
|
|
572
569
|
force: number;
|
|
@@ -643,12 +640,21 @@ export declare interface IDashboards {
|
|
|
643
640
|
dashboards: IDashboard[];
|
|
644
641
|
}
|
|
645
642
|
|
|
643
|
+
declare interface IDate {
|
|
644
|
+
format: string;
|
|
645
|
+
}
|
|
646
|
+
|
|
646
647
|
export declare interface IDateFormat {
|
|
647
648
|
time?: string;
|
|
648
649
|
date?: string;
|
|
649
650
|
locale?: string;
|
|
650
651
|
}
|
|
651
652
|
|
|
653
|
+
declare interface IDimensions {
|
|
654
|
+
width: number;
|
|
655
|
+
height: number;
|
|
656
|
+
}
|
|
657
|
+
|
|
652
658
|
export declare interface IDynamics {
|
|
653
659
|
engagement?: number;
|
|
654
660
|
video_views?: number;
|
|
@@ -708,8 +714,6 @@ export declare interface IGlobe {
|
|
|
708
714
|
country: string;
|
|
709
715
|
land: string;
|
|
710
716
|
sphere: string;
|
|
711
|
-
canvas?: string;
|
|
712
|
-
card?: string;
|
|
713
717
|
width?: number;
|
|
714
718
|
height?: number;
|
|
715
719
|
}
|
|
@@ -947,6 +951,12 @@ export declare interface IModal {
|
|
|
947
951
|
timeout?: number;
|
|
948
952
|
}
|
|
949
953
|
|
|
954
|
+
export declare interface InfluencerLabel {
|
|
955
|
+
label: string;
|
|
956
|
+
count: number;
|
|
957
|
+
info: string;
|
|
958
|
+
}
|
|
959
|
+
|
|
950
960
|
export declare const intToString: (num: any, digits?: number, abbreviate?: boolean, locale?: string) => string;
|
|
951
961
|
|
|
952
962
|
export declare interface IPreference {
|
|
@@ -1055,50 +1065,6 @@ export declare interface ISeries {
|
|
|
1055
1065
|
timestamp?: number;
|
|
1056
1066
|
}
|
|
1057
1067
|
|
|
1058
|
-
export declare interface ISeriesConfig {
|
|
1059
|
-
fixed?: number;
|
|
1060
|
-
abbreviate?: boolean;
|
|
1061
|
-
label?: string;
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
export declare interface ISeriesCss {
|
|
1065
|
-
arrowdown?: string;
|
|
1066
|
-
arrowup?: string;
|
|
1067
|
-
backdrop?: string;
|
|
1068
|
-
body?: string;
|
|
1069
|
-
brand?: string;
|
|
1070
|
-
change?: string;
|
|
1071
|
-
count?: string;
|
|
1072
|
-
container?: string;
|
|
1073
|
-
date?: string;
|
|
1074
|
-
down?: string;
|
|
1075
|
-
host?: string;
|
|
1076
|
-
image?: string;
|
|
1077
|
-
label?: string;
|
|
1078
|
-
title?: string;
|
|
1079
|
-
up?: string;
|
|
1080
|
-
widget?: string;
|
|
1081
|
-
dark?: boolean;
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
export declare interface ISeriesD3 {
|
|
1085
|
-
globe: {
|
|
1086
|
-
colors: {
|
|
1087
|
-
arc: string;
|
|
1088
|
-
border: string;
|
|
1089
|
-
country: string;
|
|
1090
|
-
land: string;
|
|
1091
|
-
sphere: string;
|
|
1092
|
-
};
|
|
1093
|
-
settings?: {
|
|
1094
|
-
canvas?: string;
|
|
1095
|
-
card?: string;
|
|
1096
|
-
width?: number;
|
|
1097
|
-
height?: number;
|
|
1098
|
-
};
|
|
1099
|
-
};
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
1068
|
export declare interface ISeriesData {
|
|
1103
1069
|
name?: string;
|
|
1104
1070
|
label?: string;
|
|
@@ -1110,28 +1076,21 @@ export declare interface ISeriesData {
|
|
|
1110
1076
|
previous_category?: number;
|
|
1111
1077
|
}
|
|
1112
1078
|
|
|
1113
|
-
export declare interface ISeriesDateFormat {
|
|
1114
|
-
time?: string;
|
|
1115
|
-
date?: string;
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
1079
|
export declare interface ISeriesOptions {
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
export declare interface ISeriesShow {
|
|
1127
|
-
brand?: boolean;
|
|
1128
|
-
date?: boolean;
|
|
1080
|
+
colors?: string;
|
|
1081
|
+
css?: SeriesCss;
|
|
1082
|
+
time?: ITime;
|
|
1083
|
+
date?: IDate;
|
|
1084
|
+
dimensions?: IDimensions;
|
|
1085
|
+
show?: Show;
|
|
1086
|
+
config?: IConfig;
|
|
1129
1087
|
}
|
|
1130
1088
|
|
|
1131
1089
|
export declare interface IShow {
|
|
1132
1090
|
approve?: boolean;
|
|
1133
1091
|
avatar?: boolean;
|
|
1134
1092
|
brand?: boolean;
|
|
1093
|
+
carousel?: boolean;
|
|
1135
1094
|
date?: boolean;
|
|
1136
1095
|
dynamics?: boolean;
|
|
1137
1096
|
handle?: boolean;
|
|
@@ -1194,6 +1153,10 @@ export declare interface IStorageOptions {
|
|
|
1194
1153
|
workers?: boolean;
|
|
1195
1154
|
}
|
|
1196
1155
|
|
|
1156
|
+
declare interface ITime {
|
|
1157
|
+
format: string;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1197
1160
|
export declare interface ITopic {
|
|
1198
1161
|
message_id: string;
|
|
1199
1162
|
dashboard_id?: string;
|
|
@@ -1267,23 +1230,56 @@ export declare interface JsonChild {
|
|
|
1267
1230
|
child: JsonChild[];
|
|
1268
1231
|
}
|
|
1269
1232
|
|
|
1233
|
+
export declare interface Key {
|
|
1234
|
+
width: string;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
export declare interface Kpi {
|
|
1238
|
+
name: string;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1270
1241
|
export declare interface Label {
|
|
1271
|
-
|
|
1272
|
-
count: number;
|
|
1273
|
-
info: string;
|
|
1242
|
+
width: string;
|
|
1274
1243
|
}
|
|
1275
1244
|
|
|
1276
1245
|
export declare interface Land {
|
|
1277
|
-
|
|
1278
|
-
geometries: LandGeometry[];
|
|
1246
|
+
fill: string;
|
|
1279
1247
|
}
|
|
1280
1248
|
|
|
1281
1249
|
export declare interface LandGeometry {
|
|
1282
|
-
type:
|
|
1250
|
+
type: GeoType;
|
|
1283
1251
|
arcs: Array<Array<number[]>>;
|
|
1284
1252
|
}
|
|
1285
1253
|
|
|
1286
|
-
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
|
+
};
|
|
1287
1283
|
|
|
1288
1284
|
export declare const maxifyCss: (css: string) => string;
|
|
1289
1285
|
|
|
@@ -1329,6 +1325,21 @@ export declare function moderation(options: IStorageOptions, query: IQuery): IQu
|
|
|
1329
1325
|
|
|
1330
1326
|
export declare function numberFormatter(num: number, digits: number): string;
|
|
1331
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
|
+
|
|
1332
1343
|
export declare const randomColor: () => string;
|
|
1333
1344
|
|
|
1334
1345
|
export declare const randomRGB: () => string;
|
|
@@ -1373,6 +1384,21 @@ export declare interface SeriesAttr {
|
|
|
1373
1384
|
class?: string | string[];
|
|
1374
1385
|
}
|
|
1375
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
|
+
|
|
1376
1402
|
export declare interface Settings {
|
|
1377
1403
|
contents: Content[];
|
|
1378
1404
|
component: Component;
|
|
@@ -1383,8 +1409,24 @@ export declare enum ShapeType {
|
|
|
1383
1409
|
Polygon = "Polygon"
|
|
1384
1410
|
}
|
|
1385
1411
|
|
|
1412
|
+
export declare interface Show {
|
|
1413
|
+
brand: boolean;
|
|
1414
|
+
percentage: Percentage;
|
|
1415
|
+
date: boolean;
|
|
1416
|
+
kpi: boolean;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1386
1419
|
export declare function showModal(e: MouseEvent, widget: any, message: IMessage, options: any): void;
|
|
1387
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
|
+
|
|
1388
1430
|
export declare function shuffleMessages(messages: IMessage[]): IMessage[];
|
|
1389
1431
|
|
|
1390
1432
|
export declare enum STORAGE {
|
|
@@ -1406,11 +1448,6 @@ export declare interface Transform {
|
|
|
1406
1448
|
translate: number[];
|
|
1407
1449
|
}
|
|
1408
1450
|
|
|
1409
|
-
export declare enum Type {
|
|
1410
|
-
MultiPolygon = "MultiPolygon",
|
|
1411
|
-
Polygon = "Polygon"
|
|
1412
|
-
}
|
|
1413
|
-
|
|
1414
1451
|
export declare const typeCss: (query: IQuery | undefined) => string;
|
|
1415
1452
|
|
|
1416
1453
|
export declare const uniq: (length?: number, existing?: never[]) => string;
|
|
@@ -1421,6 +1458,13 @@ export declare const upDownColor: (change: number) => "text-down text-xs" | "tex
|
|
|
1421
1458
|
|
|
1422
1459
|
export declare function widgetParams(query: IQuery): IQuery;
|
|
1423
1460
|
|
|
1461
|
+
export declare interface Words {
|
|
1462
|
+
duration: number;
|
|
1463
|
+
multiplier: number;
|
|
1464
|
+
padding: number;
|
|
1465
|
+
range: string;
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1424
1468
|
export declare const wrapPromise: (promise: any, delay: number, reason: string) => Promise<any>;
|
|
1425
1469
|
|
|
1426
1470
|
export declare interface XAxis {
|