@arbocollab/arbo-web-scene 0.26.8-alpha.43 → 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 +14 -16
- package/package.json +1 -1
- package/umd/index.umd.js +45 -45
package/es/index.es.js
CHANGED
|
@@ -11928,13 +11928,13 @@ 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",
|
|
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.106",
|
|
11938
11938
|
"@arbocollab/arbo-calendar-component": "0.0.45",
|
|
11939
11939
|
"@arbocollab/arbo-metric-table": "npm:@arbocollab/arbo-metric-table@0.0.24",
|
|
11940
11940
|
"@arbocollab/ag-grid-ui-components": "0.0.49",
|
|
@@ -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`,
|
|
@@ -67878,7 +67876,7 @@ ovn((e) => ({
|
|
|
67878
67876
|
return U$t(t, n) || e.has(t, n);
|
|
67879
67877
|
}
|
|
67880
67878
|
}));
|
|
67881
|
-
const xNr = "0.0.377-alpha.
|
|
67879
|
+
const xNr = "0.0.377-alpha.106", kNr = {
|
|
67882
67880
|
version: xNr
|
|
67883
67881
|
}, svn = "mediaCachingDB", lR = "mediaStore", ZTe = "__cache_flag__", TNr = 1, lvn = !1, XTe = kNr.version;
|
|
67884
67882
|
let yre = null, $Se = !1, ISe = null, ONr = class {
|
|
@@ -234546,7 +234544,12 @@ const ndo = [
|
|
|
234546
234544
|
minimumCharacters: sessionStorage.getItem("minimumCharacters") ? parseInt(sessionStorage.getItem("minimumCharacters"), 10) : 0
|
|
234547
234545
|
}
|
|
234548
234546
|
]
|
|
234549
|
-
}
|
|
234547
|
+
},
|
|
234548
|
+
keystrokes: [
|
|
234549
|
+
// Forces Shift + Enter to trigger standard 'enter' instead of 'shiftEnter'
|
|
234550
|
+
["Shift + Enter", "enter"]
|
|
234551
|
+
]
|
|
234552
|
+
// plugins:[FixMentionAfterSoftBreak]
|
|
234550
234553
|
})), ye = () => {
|
|
234551
234554
|
he.value = !0;
|
|
234552
234555
|
};
|
|
@@ -234849,7 +234852,7 @@ const ndo = [
|
|
|
234849
234852
|
}, 8, ["can-drop", "size-limit"]);
|
|
234850
234853
|
};
|
|
234851
234854
|
}
|
|
234852
|
-
}), Zdo = ".ck-label,.arbo-comment-box .ck-label{display:none!important}.ck-balloon-panel:has(.ck-link-toolbar){display:none!important}.ck-link-toolbar{display:none!important}.ck.ck-editor__main>.ck-editor__editable{background:inherit!important}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:none!important}", Xdo = ".assignee-placeholder[data-v-
|
|
234855
|
+
}), Zdo = ".ck-label,.arbo-comment-box .ck-label{display:none!important}.ck-balloon-panel:has(.ck-link-toolbar){display:none!important}.ck-link-toolbar{display:none!important}.ck.ck-editor__main>.ck-editor__editable{background:inherit!important}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:none!important}", Xdo = ".assignee-placeholder[data-v-9a3bb0bc]{display:flex;width:24px;height:24px;flex-direction:column;justify-content:center;align-items:center;aspect-ratio:1/1;border-radius:var(--tessr-radius-sm, 4px);border:var(--tessr-avatar-border-width, 1px) dashed var(--tessr-avatar-border, #f3f5f8);background:var(--tessr-avatar-fg-primary, #fff)}", nPn = /* @__PURE__ */ Hr(Ydo, [["styles", [Zdo, Xdo]], ["__scopeId", "data-v-9a3bb0bc"]]);
|
|
234853
234856
|
class Jdo {
|
|
234854
234857
|
constructor() {
|
|
234855
234858
|
cn(this, "commentHub");
|
|
@@ -234997,7 +235000,7 @@ const Qdo = 2, $S = /* @__PURE__ */ U$("comment", () => {
|
|
|
234997
235000
|
} = Ua(a), v = av((L) => {
|
|
234998
235001
|
o(L);
|
|
234999
235002
|
}, 500), g = (L) => {
|
|
235000
|
-
|
|
235003
|
+
v(L);
|
|
235001
235004
|
}, w = vh(), { currentSceneTabId: S } = Ua(w), E = qF(), { numberOfRendition: x } = Ua(E), y = re(!1), O = n, k = ne(
|
|
235002
235005
|
() => u.value === Ou.Scene && S.value === Ou.Rendition
|
|
235003
235006
|
), A = ne(
|
|
@@ -238903,11 +238906,6 @@ function zho(e, t, n, r, a, o) {
|
|
|
238903
238906
|
class: "z-[1]"
|
|
238904
238907
|
}, {
|
|
238905
238908
|
view: Ue(() => [
|
|
238906
|
-
Kt(
|
|
238907
|
-
xt(r.currentCommentTab == r.EnumSceneTab.Rendition && r.hasOpenPermission.review && !r.isHardLocked) + " ",
|
|
238908
|
-
1
|
|
238909
|
-
/* TEXT */
|
|
238910
|
-
),
|
|
238911
238909
|
Le(
|
|
238912
238910
|
r.CommentScroller,
|
|
238913
238911
|
un({
|
|
@@ -239070,7 +239068,7 @@ const Who = /* @__PURE__ */ qo(Fho, [["render", zho], ["__scopeId", "data-v-9559
|
|
|
239070
239068
|
const we = await Z(tt, M.value);
|
|
239071
239069
|
return !!(we != null && we.success);
|
|
239072
239070
|
}, me = async (tt) => {
|
|
239073
|
-
if (
|
|
239071
|
+
if (tt.size > 5e6) {
|
|
239074
239072
|
ye("exceedLimit");
|
|
239075
239073
|
return;
|
|
239076
239074
|
}
|