buzzcasting-storage 2.16.26 → 2.16.27
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-storage.d.ts +23 -0
- package/dist/buzzcasting-storage.esm.js +1032 -987
- package/package.json +1 -1
|
@@ -72,6 +72,8 @@ export declare function camelCase(str: string): string;
|
|
|
72
72
|
*/
|
|
73
73
|
export declare function camelize(str: string): string;
|
|
74
74
|
|
|
75
|
+
export declare const capitalizeFirstLetter: (prop: string) => string;
|
|
76
|
+
|
|
75
77
|
/**
|
|
76
78
|
* Clear Container range contents of template code when the web component is connected to the DOM
|
|
77
79
|
* @param myNode
|
|
@@ -99,6 +101,8 @@ declare enum CSS_2 {
|
|
|
99
101
|
}
|
|
100
102
|
export { CSS_2 as CSS }
|
|
101
103
|
|
|
104
|
+
export declare function deepMerge(objs: any): void;
|
|
105
|
+
|
|
102
106
|
export declare enum EVENTS {
|
|
103
107
|
ADD_SLIDE = "addSlide",
|
|
104
108
|
APP_READY = "appReady",
|
|
@@ -140,6 +144,8 @@ export declare function filterAttributes(attributes: NamedNodeMap): IFilteredAtt
|
|
|
140
144
|
|
|
141
145
|
export declare function formatContent(message: IMessage, titleCss?: string): string;
|
|
142
146
|
|
|
147
|
+
export declare function hashSum(o: any): string | any[];
|
|
148
|
+
|
|
143
149
|
declare interface IAttachedMedia {
|
|
144
150
|
image?: string;
|
|
145
151
|
background: {
|
|
@@ -417,12 +423,21 @@ export declare enum MODERATION {
|
|
|
417
423
|
|
|
418
424
|
export declare function numberFormatter(num: number, digits: number): string;
|
|
419
425
|
|
|
426
|
+
/**
|
|
427
|
+
* Get a random item from an array
|
|
428
|
+
* @param array
|
|
429
|
+
* @returns
|
|
430
|
+
*/
|
|
431
|
+
export declare function randomValue(array: string | any[]): number;
|
|
432
|
+
|
|
420
433
|
export declare function rtl(message: IMessage): {
|
|
421
434
|
[key: string]: string;
|
|
422
435
|
};
|
|
423
436
|
|
|
424
437
|
export declare function sanitize(messages: IMessage[]): IMessage[];
|
|
425
438
|
|
|
439
|
+
export declare function showModal(e: MouseEvent, widget: Widget, message: IMessage, options: any): void;
|
|
440
|
+
|
|
426
441
|
export declare function shuffleMessages(messages: IMessage[]): IMessage[];
|
|
427
442
|
|
|
428
443
|
export declare enum STORAGE {
|
|
@@ -433,6 +448,14 @@ export declare enum STORAGE {
|
|
|
433
448
|
WINDOW = "window"
|
|
434
449
|
}
|
|
435
450
|
|
|
451
|
+
/**
|
|
452
|
+
* Generate a unique identifier
|
|
453
|
+
* @returns uid
|
|
454
|
+
*/
|
|
455
|
+
export declare function stringGen(): string;
|
|
456
|
+
|
|
457
|
+
export declare const upDownColor: (change: number) => "text-down text-xs" | "text-up text-xs" | "text-white text-xs";
|
|
458
|
+
|
|
436
459
|
/**
|
|
437
460
|
* Main class for managing widgets and data updates
|
|
438
461
|
*/
|