@arbocollab/arbo-web-scene 0.26.8-alpha.44 → 0.26.8-alpha.45
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 +5 -12
- package/package.json +1 -1
- package/umd/index.umd.js +45 -45
package/es/index.es.js
CHANGED
|
@@ -11928,7 +11928,7 @@ const slr = (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
|
-
}, llr = "0.26.8-alpha.
|
|
11931
|
+
}, llr = "0.26.8-alpha.45", ulr = {
|
|
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",
|
|
@@ -16437,7 +16437,7 @@ const Elr = 30 * 24 * 60 * 60 * 1e3, Nut = () => {
|
|
|
16437
16437
|
};
|
|
16438
16438
|
return {
|
|
16439
16439
|
addDraftCommentData: async (f, m) => {
|
|
16440
|
-
if (
|
|
16440
|
+
if (!f || typeof f != "string")
|
|
16441
16441
|
return console.warn("Invalid id provided to addDraftCommentData"), !1;
|
|
16442
16442
|
if (!m || typeof m != "string")
|
|
16443
16443
|
return console.warn("Invalid data provided to addDraftCommentData"), !1;
|
|
@@ -16464,7 +16464,6 @@ const Elr = 30 * 24 * 60 * 60 * 1e3, Nut = () => {
|
|
|
16464
16464
|
}
|
|
16465
16465
|
},
|
|
16466
16466
|
removeDraft: async (f) => {
|
|
16467
|
-
console.log("removeDraft", f);
|
|
16468
16467
|
try {
|
|
16469
16468
|
await iI.comments.where("renditionId").equals(f).delete();
|
|
16470
16469
|
} catch (m) {
|
|
@@ -16472,7 +16471,7 @@ const Elr = 30 * 24 * 60 * 60 * 1e3, Nut = () => {
|
|
|
16472
16471
|
}
|
|
16473
16472
|
},
|
|
16474
16473
|
handleLoadDraftComment: async (f, m) => {
|
|
16475
|
-
if (
|
|
16474
|
+
if (f == Ou.Scene)
|
|
16476
16475
|
return await r("comments", m);
|
|
16477
16476
|
},
|
|
16478
16477
|
setCommentFile: async (f) => {
|
|
@@ -30701,7 +30700,6 @@ const H$ = () => {
|
|
|
30701
30700
|
return (k == null ? void 0 : k.message) == "Done" ? { success: !0, data: k } : { success: !1, data: "Update failed." };
|
|
30702
30701
|
},
|
|
30703
30702
|
getSceneCardAPI: async () => {
|
|
30704
|
-
console.log("getSceneCardAPI called with ws_code:", e, "scene_id:", t);
|
|
30705
30703
|
try {
|
|
30706
30704
|
const y = await Vo.get(
|
|
30707
30705
|
`/workspace/${e}/items/${t}/card`,
|
|
@@ -235002,7 +235000,7 @@ const Qdo = 2, $S = /* @__PURE__ */ U$("comment", () => {
|
|
|
235002
235000
|
} = Ua(a), v = av((L) => {
|
|
235003
235001
|
o(L);
|
|
235004
235002
|
}, 500), g = (L) => {
|
|
235005
|
-
|
|
235003
|
+
v(L);
|
|
235006
235004
|
}, w = vh(), { currentSceneTabId: S } = Ua(w), E = qF(), { numberOfRendition: x } = Ua(E), y = re(!1), O = n, k = ne(
|
|
235007
235005
|
() => u.value === Ou.Scene && S.value === Ou.Rendition
|
|
235008
235006
|
), A = ne(
|
|
@@ -238908,11 +238906,6 @@ function zho(e, t, n, r, a, o) {
|
|
|
238908
238906
|
class: "z-[1]"
|
|
238909
238907
|
}, {
|
|
238910
238908
|
view: Ue(() => [
|
|
238911
|
-
Kt(
|
|
238912
|
-
xt(r.currentCommentTab == r.EnumSceneTab.Rendition && r.hasOpenPermission.review && !r.isHardLocked) + " ",
|
|
238913
|
-
1
|
|
238914
|
-
/* TEXT */
|
|
238915
|
-
),
|
|
238916
238909
|
Le(
|
|
238917
238910
|
r.CommentScroller,
|
|
238918
238911
|
un({
|
|
@@ -239075,7 +239068,7 @@ const Who = /* @__PURE__ */ qo(Fho, [["render", zho], ["__scopeId", "data-v-9559
|
|
|
239075
239068
|
const we = await Z(tt, M.value);
|
|
239076
239069
|
return !!(we != null && we.success);
|
|
239077
239070
|
}, me = async (tt) => {
|
|
239078
|
-
if (
|
|
239071
|
+
if (tt.size > 5e6) {
|
|
239079
239072
|
ye("exceedLimit");
|
|
239080
239073
|
return;
|
|
239081
239074
|
}
|