@arbocollab/arbo-web-scene 0.26.8-alpha.73 → 0.26.8-alpha.74
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 +20 -11
- package/package.json +1 -1
- package/umd/index.umd.js +5 -5
package/es/index.es.js
CHANGED
|
@@ -11928,13 +11928,13 @@ const flr = (e, t) => {
|
|
|
11928
11928
|
(s = (i = e == null ? void 0 : e.config) == null ? void 0 : i.globalProperties) == null || s.setStoreValue("scene", "setCurrentSceneTabId", o);
|
|
11929
11929
|
}
|
|
11930
11930
|
return e.config.globalProperties.setStoreValue = r, e.config.globalProperties.handleSetTab = a, { handleSetTab: a };
|
|
11931
|
-
}, hlr = "0.26.8-alpha.
|
|
11931
|
+
}, hlr = "0.26.8-alpha.74", plr = {
|
|
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.26",
|
|
11936
11936
|
"@arbocollab/arbo-table-component": "1.0.1",
|
|
11937
|
-
"@arbocollab/arbo-ui-components": "npm:@arbocollab/arbo-ui-components-beta@0.0.377-alpha.
|
|
11937
|
+
"@arbocollab/arbo-ui-components": "npm:@arbocollab/arbo-ui-components-beta@0.0.377-alpha.143",
|
|
11938
11938
|
"@arbocollab/arbo-calendar-component": "0.0.50",
|
|
11939
11939
|
"@arbocollab/arbo-metric-table": "npm:@arbocollab/arbo-metric-table@0.0.24",
|
|
11940
11940
|
"@arbocollab/ag-grid-ui-components": "0.0.53",
|
|
@@ -30441,7 +30441,7 @@ hdn((e) => ({
|
|
|
30441
30441
|
return lTt(t, n) || e.has(t, n);
|
|
30442
30442
|
}
|
|
30443
30443
|
}));
|
|
30444
|
-
const egr = "0.0.377-alpha.
|
|
30444
|
+
const egr = "0.0.377-alpha.143", tgr = {
|
|
30445
30445
|
version: egr
|
|
30446
30446
|
}, mdn = "mediaCachingDB", iR = "mediaStore", _Te = "__cache_flag__", ngr = 1, gdn = !1, STe = tgr.version;
|
|
30447
30447
|
let ire = null, sSe = !1, lSe = null, rgr = class {
|
|
@@ -234213,7 +234213,6 @@ const odo = [
|
|
|
234213
234213
|
g(w, v), w.is("element") && w.childCount > 0 && i(w.getChildren(), v, g);
|
|
234214
234214
|
}, s = () => {
|
|
234215
234215
|
try {
|
|
234216
|
-
if (e.mode !== "new") return;
|
|
234217
234216
|
const p = l(), v = Object.fromEntries(p.map((w) => [w.id, w]));
|
|
234218
234217
|
let g = Object.values(v);
|
|
234219
234218
|
if (g = g.map((w) => {
|
|
@@ -234223,7 +234222,8 @@ const odo = [
|
|
|
234223
234222
|
text: ((S = w.name) == null ? void 0 : S.replace(Dae, "")) ?? "",
|
|
234224
234223
|
id: (w.id || (w == null ? void 0 : w.userId)) ?? ""
|
|
234225
234224
|
};
|
|
234226
|
-
}).filter((w) => w.id && w.id !== ""), o.value = g,
|
|
234225
|
+
}).filter((w) => w.id && w.id !== ""), o.value = g, e.mode !== "new") return;
|
|
234226
|
+
if (r.value) {
|
|
234227
234227
|
const w = g.find((S) => {
|
|
234228
234228
|
var E;
|
|
234229
234229
|
return S.id === ((E = a.value) == null ? void 0 : E.id);
|
|
@@ -234731,7 +234731,9 @@ const odo = [
|
|
|
234731
234731
|
return S(), {
|
|
234732
234732
|
text: ge(d.value),
|
|
234733
234733
|
mention: g.value && e.mode == "new" ? Fdo(g.value) : void 0,
|
|
234734
|
-
attachments: Se
|
|
234734
|
+
attachments: Se,
|
|
234735
|
+
taggable_ids: w.value.map((ve) => ve.id)
|
|
234736
|
+
// Collect all mention IDs
|
|
234735
234737
|
};
|
|
234736
234738
|
} catch (Se) {
|
|
234737
234739
|
console.error("Failed to create submit payload:", Se);
|
|
@@ -237217,6 +237219,7 @@ const lPn = /* @__PURE__ */ Ho(aho, [["render", uho], ["__scopeId", "data-v-3546
|
|
|
237217
237219
|
deleteComment: y,
|
|
237218
237220
|
updateComment: async (...Y) => {
|
|
237219
237221
|
var Se, ve;
|
|
237222
|
+
console.log("updateComment", Y);
|
|
237220
237223
|
const de = Y[0];
|
|
237221
237224
|
try {
|
|
237222
237225
|
const Q = de.attachments ?? [], J = (Se = s.value) == null ? void 0 : Se.attachments, Te = [], be = {};
|
|
@@ -237243,7 +237246,8 @@ const lPn = /* @__PURE__ */ Ho(aho, [["render", uho], ["__scopeId", "data-v-3546
|
|
|
237243
237246
|
attachments: Te,
|
|
237244
237247
|
mention: de.mention,
|
|
237245
237248
|
assigned_id: ((ve = de.mention) == null ? void 0 : ve.id) ?? void 0,
|
|
237246
|
-
markers: []
|
|
237249
|
+
markers: [],
|
|
237250
|
+
taggable_ids: de.taggable_ids.map((Ve) => Ve.replace("@", ""))
|
|
237247
237251
|
}, Ne = await m.updateCommentAPI(u, Fe);
|
|
237248
237252
|
if (Ne) {
|
|
237249
237253
|
const Ve = await I({ comment_id: u, scene_id: l });
|
|
@@ -237551,7 +237555,8 @@ const xme = /* @__PURE__ */ Ho(mho, [["render", who], ["__scopeId", "data-v-e7d7
|
|
|
237551
237555
|
comment: $.comment,
|
|
237552
237556
|
item_rendition_id: $.renditionId,
|
|
237553
237557
|
attachments: $.attachments,
|
|
237554
|
-
assigned_id: $.assigned_id ?? ""
|
|
237558
|
+
assigned_id: $.assigned_id ?? "",
|
|
237559
|
+
taggable_ids: $.taggable_ids.map((P) => P.replace("@", ""))
|
|
237555
237560
|
}
|
|
237556
237561
|
);
|
|
237557
237562
|
if (I)
|
|
@@ -238535,7 +238540,8 @@ const vNe = /* @__PURE__ */ Ho(Pho, [["render", Mho], ["__file", "/home/mor-ubun
|
|
|
238535
238540
|
attachments: at,
|
|
238536
238541
|
// mention: data.mention,
|
|
238537
238542
|
assigned_id: ((Ne = be.mention) == null ? void 0 : Ne.id.replace("@", "")) ?? void 0,
|
|
238538
|
-
markers: []
|
|
238543
|
+
markers: [],
|
|
238544
|
+
taggable_ids: be.taggable_ids.map((Ke) => Ke.replace("@", ""))
|
|
238539
238545
|
}, Je = await l(Te, Ze);
|
|
238540
238546
|
if (Je)
|
|
238541
238547
|
return ve(Te), { success: !0, data: Je };
|
|
@@ -238550,7 +238556,8 @@ const vNe = /* @__PURE__ */ Ho(Pho, [["render", Mho], ["__file", "/home/mor-ubun
|
|
|
238550
238556
|
comment: Te.comment,
|
|
238551
238557
|
renditionId: Ne,
|
|
238552
238558
|
attachments: Te.attachments ?? [],
|
|
238553
|
-
assigned_id: Te.assigned_id ?? ""
|
|
238559
|
+
assigned_id: Te.assigned_id ?? "",
|
|
238560
|
+
taggable_ids: Te.taggable_ids ?? []
|
|
238554
238561
|
});
|
|
238555
238562
|
if (Ve.success) {
|
|
238556
238563
|
e.updateComment(Ve.data);
|
|
@@ -239306,6 +239313,7 @@ const zho = /* @__PURE__ */ Ho(Lho, [["render", Hho], ["__scopeId", "data-v-9559
|
|
|
239306
239313
|
(Ke = u.value) == null || Ke.focusingComment(Je);
|
|
239307
239314
|
}, ve = re(!1), Q = async (Je) => {
|
|
239308
239315
|
var Ke;
|
|
239316
|
+
console.log("handleSendComment called with data:", Je);
|
|
239309
239317
|
try {
|
|
239310
239318
|
ve.value = !0;
|
|
239311
239319
|
const we = String(g.value), ke = ((Ke = Je == null ? void 0 : Je.mention) == null ? void 0 : Ke.userId.replace("@", "")) ?? void 0;
|
|
@@ -239313,7 +239321,8 @@ const zho = /* @__PURE__ */ Ho(Lho, [["render", Hho], ["__scopeId", "data-v-9559
|
|
|
239313
239321
|
m(!0), p.value ? it = await q(Je.text, Je.attachments, ke) : it = await P({
|
|
239314
239322
|
comment: Je.text,
|
|
239315
239323
|
attachments: Je.attachments,
|
|
239316
|
-
assigned_id: ke
|
|
239324
|
+
assigned_id: ke,
|
|
239325
|
+
taggable_ids: Je.taggable_ids.map((et) => et.replace("@", ""))
|
|
239317
239326
|
}), it != null && it.success && (f.setReplyCommentId(void 0), ce(""), Se(it.data.id), await o(i.value));
|
|
239318
239327
|
} catch (we) {
|
|
239319
239328
|
la(we, "handleSendComment"), ce((Je == null ? void 0 : Je.text) ?? "");
|