buzzcasting-storage 2.16.14 → 2.16.16
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.
|
@@ -2,7 +2,7 @@ var xi = Object.defineProperty;
|
|
|
2
2
|
var ki = (f, r, c) => r in f ? xi(f, r, { enumerable: !0, configurable: !0, writable: !0, value: c }) : f[r] = c;
|
|
3
3
|
var D = (f, r, c) => ki(f, typeof r != "symbol" ? r + "" : r, c);
|
|
4
4
|
var M = /* @__PURE__ */ ((f) => (f.MESSAGES = "messages", f.CLOUD = "cloud", f.SERIES = "series", f.TOPICS = "topics", f.WIDGET = "widget", f.WIDGETS = "widgets", f.SLIDE = "slide", f))(M || {}), _ = /* @__PURE__ */ ((f) => (f.API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;", f.APP = "color:white;background-color:navy;padding:0 4px 0 4px;border-radius:5px;", f.BROADCAST = "color:white;background-color:orange;padding:0 4px 0 4px;border-radius:5px;", f.DATA = "color:grey;background-color:lightskyblue;padding:0 4px 0 4px;border-radius:5px;", f.CLOUD = "color:grey;background-color:mistyrose;padding:0 4px 0 4px;border-radius:5px;", f.GET_DATA = "color:black;background-color:lime;padding:0 4px 0 4px;border-radius:5px;", f.HIDE = "color:white;background-color:red;padding:0 4px 0 4px;border-radius:5px;", f.MESSAGES = "color:grey;background-color:tan;padding:0 4px 0 4px;border-radius:5px;", f.NO_UPDATES = "color:grey;border:1px solid grey;padding:0 4px 0 4px;border-radius:5px;", f.NONE = "color:transparent;background-color:transparent;", f.PRESENTATION = "color:white;background-color:darkred;padding:0 4px 0 4px;border-radius:5px;", f.SERIES = "color:grey;background-color:thistle;padding:0 4px 0 4px;border-radius:5px;", f.SLIDE = "color:black;background-color:yellow;padding:0 4px 0 4px;border-radius:5px;", f.STORAGE = "color:black;background-color:cyan;padding:0 4px 0 4px;border-radius:5px;", f.SUBSCRIBE = "color:white;background-color:dodgerblue;padding:0 4px 0 4px;border-radius:5px;", f.WIDGET = "color:gret;background-color:lemonchiffon;padding:0 4px 0 4px;border-radius:5px;", f.WS = "color:white;background-color:green;padding:0 4px 0 4px;border-radius:5px;", f))(_ || {}), re = /* @__PURE__ */ ((f) => (f.ADD_SLIDE = "addSlide", f.APP_READY = "appReady", f.API_UPDATE = "apiUpdate", f.APPROVE_MESSAGE = "approveMessage", f.CHANNEL = "channel", f.CLEAN_MESSAGES = "cleanMessages", f.CLOSE_MODAL = "closeModal", f.ERROR = "error", f.HIDE_MESSAGE = "hideMessage", f.HIDE_LABELS = "hideLabels", f.PAUSE_PRESENTATION = "pausePresentation", f.PRESENTATION_READY = "presentationReady", f.PREV_SLIDE = "prevSlide", f.RELOAD_PRESENTATION = "reloadPresentation", f.SHOW_MODAL = "showModal", f.STAR_MESSAGE = "starMessage", f.GOTO_SLIDE = "gotoSlide", f.NEXT_SLIDE = "nextSlide", f.SLIDE_DID_LOAD = "slideDidLoad", f.SLIDE_GOTO = "slideGoto", f.SLIDE_READY = "slideReady", f.SLIDE_LOAD = "loadSlide", f.SLIDE_STORE = "storeSlide", f.SLIDE_TRANSITIONER = "slideTransitioner", f.START_TRANSITIONER = "startTransitioner", f.STORAGE_INIT = "storageInit", f.SUBSCRIBE = "subscribe", f.REMOVE_CLOUD = "removeCloud", f.UPDATE = "update", f.VERSION = "version", f.WIDGET_UPDATE = "widgetUpdate", f))(re || {}), Zt = /* @__PURE__ */ ((f) => (f.APPROVED = "approved", f.BEFORE = "before", f.DELAYED = "delayed", f.NONE = "none", f.REALTIME = "realtime", f))(Zt || {}), ge = /* @__PURE__ */ ((f) => (f.KEYVAL = "keyval", f.LOCAL = "local", f.SESSION = "session", f.DEXIE = "dexie", f.WINDOW = "window", f))(ge || {});
|
|
5
|
-
const Ai = "2.16.
|
|
5
|
+
const Ai = "2.16.15";
|
|
6
6
|
class Di {
|
|
7
7
|
constructor(r) {
|
|
8
8
|
D(this, "options");
|
|
@@ -3329,7 +3329,7 @@ class Mr {
|
|
|
3329
3329
|
);
|
|
3330
3330
|
}));
|
|
3331
3331
|
}), c.data.topics.forEach(async (k) => {
|
|
3332
|
-
await this.db.table(M.TOPICS).where("
|
|
3332
|
+
await this.db.table(M.TOPICS).where("message-id").equals(k.messsage_id).modify({ visible: k.visible ? 1 : 0 }).catch((N) => {
|
|
3333
3333
|
A++, console.error(
|
|
3334
3334
|
"%cstorage",
|
|
3335
3335
|
_.STORAGE,
|
|
@@ -3361,7 +3361,7 @@ class Mr {
|
|
|
3361
3361
|
), 0));
|
|
3362
3362
|
});
|
|
3363
3363
|
D(this, "hideMessage", async (r, c) => {
|
|
3364
|
-
await this.db.table(M.TOPICS).where("message_id").equals(r).modify({ visible: c }).catch((l) => (console.error(
|
|
3364
|
+
await this.db.table(M.TOPICS).where("message_id").equals(r).modify({ visible: c ? 1 : 0 }).catch((l) => (console.error(
|
|
3365
3365
|
"%cstorage%c %chide",
|
|
3366
3366
|
_.STORAGE,
|
|
3367
3367
|
_.NONE,
|
|
@@ -4321,7 +4321,7 @@ class Ji {
|
|
|
4321
4321
|
});
|
|
4322
4322
|
D(this, "hideMessage", async (r) => {
|
|
4323
4323
|
var l;
|
|
4324
|
-
const c = await ((l = this.sm) == null ? void 0 : l.hideMessage(r.id,
|
|
4324
|
+
const c = await ((l = this.sm) == null ? void 0 : l.hideMessage(r.id, 0));
|
|
4325
4325
|
return console.info(
|
|
4326
4326
|
"%cstorage%c %cstorage",
|
|
4327
4327
|
_.STORAGE,
|