@arbocollab/arbo-web-scene 0.26.6-alpha.17 → 0.26.6-alpha.18
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/es/index.es.js +11 -9
- package/package.json +1 -1
- package/style.css +1 -1
- package/umd/index.umd.js +4 -4
package/es/index.es.js
CHANGED
|
@@ -11928,13 +11928,13 @@ const llr = (e, t) => {
|
|
|
11928
11928
|
(s = (i = e == null ? void 0 : e.config) == null ? void 0 : i.globalProperties) == null || s.setStoreValue("scene", "setCurrentSceneTabId", a);
|
|
11929
11929
|
}
|
|
11930
11930
|
return e.config.globalProperties.setStoreValue = r, e.config.globalProperties.handleSetTab = o, { handleSetTab: o };
|
|
11931
|
-
}, ulr = "0.26.6-alpha.
|
|
11931
|
+
}, ulr = "0.26.6-alpha.18", clr = {
|
|
11932
11932
|
"@arbocollab/arbo-chart-component": "1.0.1",
|
|
11933
11933
|
"@arbocollab/arbo-comment-utils": "1.0.1",
|
|
11934
11934
|
"@arbocollab/arbo-common-utils": "npm:@arbocollab/arbo-common-utils@1.0.14",
|
|
11935
11935
|
"@arbocollab/arbo-media-player-component": "0.0.18",
|
|
11936
11936
|
"@arbocollab/arbo-table-component": "1.0.1",
|
|
11937
|
-
"@arbocollab/arbo-ui-components": "npm:@arbocollab/arbo-ui-components-beta@0.0.376-alpha.
|
|
11937
|
+
"@arbocollab/arbo-ui-components": "npm:@arbocollab/arbo-ui-components-beta@0.0.376-alpha.137",
|
|
11938
11938
|
"@arbocollab/arbo-calendar-component": "0.0.38",
|
|
11939
11939
|
"@arbocollab/arbo-metric-table": "npm:@arbocollab/arbo-metric-table@0.0.24",
|
|
11940
11940
|
"@arbocollab/ag-grid-ui-components": "0.0.43",
|
|
@@ -67512,7 +67512,7 @@ Jgn((e) => ({
|
|
|
67512
67512
|
return q$t(t, n) || e.has(t, n);
|
|
67513
67513
|
}
|
|
67514
67514
|
}));
|
|
67515
|
-
const ONr = "0.0.376-alpha.
|
|
67515
|
+
const ONr = "0.0.376-alpha.137", DNr = {
|
|
67516
67516
|
version: ONr
|
|
67517
67517
|
}, evn = "mediaCachingDB", oR = "mediaStore", tOe = "__cache_flag__", ANr = 1, tvn = !1, nOe = DNr.version;
|
|
67518
67518
|
let mre = null, NSe = !1, MSe = null, $Nr = class {
|
|
@@ -169408,12 +169408,14 @@ const e4o = {
|
|
|
169408
169408
|
try {
|
|
169409
169409
|
const n = await gtt.files.where("id").equals(t).first();
|
|
169410
169410
|
if (!n)
|
|
169411
|
-
throw this.updateStatus(ci.loadFailed),
|
|
169411
|
+
throw this.updateStatus(ci.loadFailed), this.getTemporaryResourceLink().then(() => {
|
|
169412
|
+
console.log("Fallback to temporary resource succeeded");
|
|
169413
|
+
}).catch((r) => {
|
|
169414
|
+
console.error("Fallback to temporary resource failed", r);
|
|
169415
|
+
}), new Error("Permanent resource not found");
|
|
169412
169416
|
this.displayType === "audio" ? this.applyFetchedResource(n.url) : ["image", "video"].includes(this.displayType) && (this.thumbnailUrl = this.displayType === "image" ? n.path : n.thumbnail), this.renderKey++, this.updateStatus(ci.loadSucceed);
|
|
169413
169417
|
} catch (n) {
|
|
169414
|
-
throw console.error("[CommentUploadFile] permanent link error", { error: n, _fileid: t }), this.updateStatus(ci.loadFailed),
|
|
169415
|
-
console.error("Fallback to temporary resource failed", r);
|
|
169416
|
-
}), new Error("Permanent resource not found");
|
|
169418
|
+
throw console.error("[CommentUploadFile] permanent link error", { error: n, _fileid: t }), this.updateStatus(ci.loadFailed), new Error("Permanent resource not found");
|
|
169417
169419
|
}
|
|
169418
169420
|
},
|
|
169419
169421
|
applyFetchedResource(e) {
|
|
@@ -236427,7 +236429,7 @@ const uya = 2, kS = /* @__PURE__ */ U$("comment", () => {
|
|
|
236427
236429
|
const G = new lya().toCommentHub(B.comment_blocks);
|
|
236428
236430
|
B.comment = G;
|
|
236429
236431
|
}
|
|
236430
|
-
e.value[j.id] = { ...B }, E(j);
|
|
236432
|
+
B.parent && (console.log("updateComment for parent", B.parent), w(B.parent)), e.value[j.id] = { ...B }, E(j);
|
|
236431
236433
|
});
|
|
236432
236434
|
},
|
|
236433
236435
|
setIsLoadingComment: y,
|
|
@@ -239142,7 +239144,7 @@ const aba = /* @__PURE__ */ qa(nba, [["render", oba], ["__scopeId", "data-v-9559
|
|
|
239142
239144
|
rt
|
|
239143
239145
|
);
|
|
239144
239146
|
if (Xe != null && Xe.success)
|
|
239145
|
-
return B(""), d.setReplyCommentId(void 0), Xe;
|
|
239147
|
+
return console.log("res.data", Xe.data), d.updateComment(Xe.data), B(""), d.setReplyCommentId(void 0), Xe;
|
|
239146
239148
|
} catch (Xe) {
|
|
239147
239149
|
ro(Xe, "handleSubmitReply"), B(De);
|
|
239148
239150
|
} finally {
|