buzzcasting-storage 2.5.13 → 2.6.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.
|
@@ -108,9 +108,10 @@ export declare interface IIndicators {
|
|
|
108
108
|
export declare interface ILabel {
|
|
109
109
|
label: string;
|
|
110
110
|
count: number;
|
|
111
|
-
info
|
|
111
|
+
info?: string;
|
|
112
112
|
current: ICloudIndicators;
|
|
113
|
-
previous
|
|
113
|
+
previous?: ICloudIndicators;
|
|
114
|
+
percentage?: number;
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
export declare interface IMedium {
|
|
@@ -324,6 +325,7 @@ export declare class Widget {
|
|
|
324
325
|
getCloud: () => Promise<IResponse>;
|
|
325
326
|
getMessages: () => Promise<IResponse>;
|
|
326
327
|
getSeries: () => Promise<IResponse>;
|
|
328
|
+
showModal: (componentName: any) => void;
|
|
327
329
|
destroy(): void;
|
|
328
330
|
}
|
|
329
331
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ri = Object.defineProperty;
|
|
2
2
|
var Ni = (C, o, h) => o in C ? Ri(C, o, { enumerable: !0, configurable: !0, writable: !0, value: h }) : C[o] = h;
|
|
3
3
|
var P = (C, o, h) => (Ni(C, typeof o != "symbol" ? o + "" : o, h), h);
|
|
4
|
-
const Fi = "2.5.
|
|
4
|
+
const Fi = "2.5.13";
|
|
5
5
|
class $i {
|
|
6
6
|
constructor(o) {
|
|
7
7
|
P(this, "options");
|
|
@@ -4237,6 +4237,18 @@ class ao {
|
|
|
4237
4237
|
message: `wrong method call for getMessages, expected type is ${this.query.type}`,
|
|
4238
4238
|
success: !1
|
|
4239
4239
|
}) : await this.storageReader.getSeries(this.query));
|
|
4240
|
+
P(this, "showModal", (o) => {
|
|
4241
|
+
const h = new CustomEvent("show-modal", {
|
|
4242
|
+
detail: {
|
|
4243
|
+
component: o,
|
|
4244
|
+
attributes: this.query
|
|
4245
|
+
},
|
|
4246
|
+
bubbles: !0,
|
|
4247
|
+
cancelable: !0,
|
|
4248
|
+
composed: !0
|
|
4249
|
+
});
|
|
4250
|
+
window.dispatchEvent(h);
|
|
4251
|
+
});
|
|
4240
4252
|
var D;
|
|
4241
4253
|
if (this.listeners = o, h = ot(h), h.widget === void 0) {
|
|
4242
4254
|
const T = (D = h.topics) == null ? void 0 : D.split("-");
|