@arbocollab/arbo-web-scene 0.26.8-alpha.64 → 0.26.8-alpha.65

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 CHANGED
@@ -11928,13 +11928,13 @@ const dlr = (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
- }, flr = "0.26.8-alpha.64", hlr = {
11931
+ }, flr = "0.26.8-alpha.65", hlr = {
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.128",
11937
+ "@arbocollab/arbo-ui-components": "npm:@arbocollab/arbo-ui-components-beta@0.0.377-alpha.129",
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",
@@ -30441,7 +30441,7 @@ ddn((e) => ({
30441
30441
  return iTt(t, n) || e.has(t, n);
30442
30442
  }
30443
30443
  }));
30444
- const Qmr = "0.0.377-alpha.128", egr = {
30444
+ const Qmr = "0.0.377-alpha.129", egr = {
30445
30445
  version: Qmr
30446
30446
  }, hdn = "mediaCachingDB", iR = "mediaStore", STe = "__cache_flag__", tgr = 1, pdn = !1, ETe = egr.version;
30447
30447
  let ore = null, lSe = !1, uSe = null, ngr = class {
@@ -235698,7 +235698,7 @@ const ffo = /* @__PURE__ */ Ho(rfo, [["render", dfo], ["__scopeId", "data-v-1bab
235698
235698
  getUserBasicInfo: {}
235699
235699
  },
235700
235700
  setup(e) {
235701
- var x;
235701
+ var y;
235702
235702
  const t = e, n = re(null), r = re(!0), a = re(!1), o = W5(), i = Pa(o), { searchHighlight: s } = Mfo(), { BASE_URL: l, API_REVIEW_URL: u } = lct();
235703
235703
  hb("_uploadingStatus", pr(i));
235704
235704
  const d = DF(() => {
@@ -235713,18 +235713,18 @@ const ffo = /* @__PURE__ */ Ho(rfo, [["render", dfo], ["__scopeId", "data-v-1bab
235713
235713
  () => $t(f),
235714
235714
  { immediate: !0 }
235715
235715
  );
235716
- const m = (y) => {
235717
- const O = y.dataset.userId, k = y.hash.substring(1), A = new URLSearchParams(k);
235718
- let R = Object.fromEntries(A.entries());
235719
- return R.userId = O, y.getAttribute("rel") === "noopener noreferrer" && (R = { type: "link", data: y.href, name: (y.textContent || "").replace("@", "") }), R.name = (y.textContent || "").replace("@", ""), R;
235720
- }, p = (x = No()) == null ? void 0 : x.appContext, v = (y) => {
235721
- var O, k, A;
235722
- (O = S.value) == null || O.setProps({ theme: y }), (A = (k = S.value) == null ? void 0 : k.popperInstance) == null || A.update();
235723
- }, g = (y) => {
235724
- const O = document.createElement("div");
235725
- O.className = "user-profile-tooltip-content";
235726
- const k = XD(Edt, {
235727
- user: y,
235716
+ const m = (O) => {
235717
+ const k = O.dataset.userId, A = O.hash.substring(1), R = new URLSearchParams(A);
235718
+ let $ = Object.fromEntries(R.entries());
235719
+ return $.userId = k, O.getAttribute("rel") === "noopener noreferrer" && ($ = { type: "link", data: O.href, name: (O.textContent || "").replace("@", "") }), $.name = (O.textContent || "").replace("@", ""), $;
235720
+ }, p = (y = No()) == null ? void 0 : y.appContext, v = (O) => {
235721
+ var k, A, R;
235722
+ (k = E.value) == null || k.setProps({ theme: O }), (R = (A = E.value) == null ? void 0 : A.popperInstance) == null || R.update();
235723
+ }, g = (O) => {
235724
+ const k = document.createElement("div");
235725
+ k.className = "user-profile-tooltip-content";
235726
+ const A = XD(Edt, {
235727
+ user: O,
235728
235728
  status: "active",
235729
235729
  timezone: sessionStorage.getItem("account.last_prefered_timezone") || "UTC",
235730
235730
  showInsightButton: !0,
@@ -235734,18 +235734,21 @@ const ffo = /* @__PURE__ */ Ho(rfo, [["render", dfo], ["__scopeId", "data-v-1bab
235734
235734
  // Replace this with your actual API call instead of mock data when ready
235735
235735
  apiUpdateFunction: t.getUserBasicInfo,
235736
235736
  showPrivateUser: !0,
235737
- onDataUpdated: (A) => {
235738
- console.log("User information updated:", A), A == null ? v("arbo") : v("popover");
235737
+ onDataUpdated: (R) => {
235738
+ console.log("User information updated:", R), R == null ? v("arbo") : v("popover");
235739
235739
  }
235740
235740
  });
235741
- return p && (k._context = p), k.mount(O), { container: O, app: k };
235742
- }, w = (y) => {
235743
- const O = y.target.closest("a");
235744
- if (!O) return;
235745
- const k = m(O);
235746
- if (k.type === "frame") {
235747
- y.preventDefault();
235748
- const A = xp({
235741
+ return p && (A._context = p), A.mount(k), { container: k, app: A };
235742
+ }, w = (O) => {
235743
+ const k = O.target.closest("a");
235744
+ k && m(k).type === "frame" && O.preventDefault();
235745
+ }, S = (O) => {
235746
+ const k = O.target.closest("a");
235747
+ if (!k) return;
235748
+ const A = m(k);
235749
+ if (A.type === "frame") {
235750
+ O.preventDefault();
235751
+ const R = xp({
235749
235752
  type: "review_frame",
235750
235753
  config: {
235751
235754
  reviewDomain: sessionStorage.getItem("BASE_REVIEW_URL") || "",
@@ -235753,46 +235756,46 @@ const ffo = /* @__PURE__ */ Ho(rfo, [["render", dfo], ["__scopeId", "data-v-1bab
235753
235756
  scene_id: t.commentConfig.sceneId,
235754
235757
  rendition_id: t.commentConfig.renditionId || "",
235755
235758
  ws_code: t.commentConfig.wsCode,
235756
- frame: k.data
235759
+ frame: A.data
235757
235760
  }
235758
235761
  });
235759
- window.open(A.url, "_blank");
235760
- } else if (k.type === "link") {
235761
- y.preventDefault();
235762
- const A = k.data.startsWith("http") ? k.data : `http://${k.data}`;
235763
- window.open(A, "_blank");
235764
- } else k.type === "mention" && k.userId && y.preventDefault();
235765
- }, S = re(null), E = (y) => {
235766
- const O = y.target.closest("a");
235767
- if (!O || O._tippy) return;
235768
- const k = m(O);
235769
- if (k.type === "mention" && k.userId) {
235770
- y.preventDefault();
235771
- const A = {
235772
- id: k.userId,
235773
- name: k.name,
235762
+ window.open(R.url, "_blank");
235763
+ } else if (A.type === "link") {
235764
+ O.preventDefault();
235765
+ const R = A.data.startsWith("http") ? A.data : `http://${A.data}`;
235766
+ window.open(R, "_blank");
235767
+ } else A.type === "mention" && A.userId && O.preventDefault();
235768
+ }, E = re(null), x = (O) => {
235769
+ const k = O.target.closest("a");
235770
+ if (!k || k._tippy) return;
235771
+ const A = m(k);
235772
+ if (A.type === "mention" && A.userId) {
235773
+ O.preventDefault();
235774
+ const R = {
235775
+ id: A.userId,
235776
+ name: A.name,
235774
235777
  profile_image: null,
235775
- initial: k.data.charAt(0).toUpperCase(),
235778
+ initial: A.data.charAt(0).toUpperCase(),
235776
235779
  color: { textColor: "#000000", bgColor: "#ffffff" }
235777
- }, { container: R, app: $ } = g(A), I = NR(O, {
235780
+ }, { container: $, app: I } = g(R), P = NR(k, {
235778
235781
  theme: "popover",
235779
235782
  arrow: !0,
235780
235783
  interactive: !0,
235781
235784
  appendTo: document.body,
235782
- content: R,
235785
+ content: $,
235783
235786
  delay: [1e3, 0],
235784
235787
  offset: [0, -2],
235785
235788
  placement: "top-start",
235786
- onHidden(P) {
235787
- $.unmount(), P.destroy();
235789
+ onHidden(j) {
235790
+ I.unmount(), j.destroy();
235788
235791
  }
235789
235792
  });
235790
- S.value = I;
235793
+ E.value = P;
235791
235794
  }
235792
235795
  };
235793
235796
  return mn(() => {
235794
235797
  d();
235795
- }), (y, O) => (z(), me("div", {
235798
+ }), (O, k) => (z(), me("div", {
235796
235799
  class: "comment-content",
235797
235800
  style: dn({ height: r.value ? e.collapsedHeight + "px" : "unset" })
235798
235801
  }, [
@@ -235801,17 +235804,16 @@ const ffo = /* @__PURE__ */ Ho(rfo, [["render", dfo], ["__scopeId", "data-v-1bab
235801
235804
  ref: n,
235802
235805
  class: $e(["content", { collapsed: r.value }]),
235803
235806
  innerHTML: e.rawHtml,
235804
- onClick: w,
235805
- onContextmenu: O[0] || (O[0] = Zt(() => {
235806
- }, ["prevent"])),
235807
- onMouseover: E
235807
+ onClick: S,
235808
+ onContextmenu: w,
235809
+ onMouseover: x
235808
235810
  }, null, 42, Lfo),
235809
235811
  a.value && e.collapsable ? (z(), lt(ee(sr), {
235810
235812
  key: 0,
235811
235813
  variant: "secondary",
235812
235814
  size: "small",
235813
235815
  style: { width: "max-content", padding: "0px 8px" },
235814
- onClick: O[1] || (O[1] = Zt((k) => r.value = !r.value, ["stop", "prevent"]))
235816
+ onClick: k[0] || (k[0] = Zt((A) => r.value = !r.value, ["stop", "prevent"]))
235815
235817
  }, {
235816
235818
  default: Ue(() => [
235817
235819
  Wt(Ct(r.value ? "Show more" : "Show less"), 1)
@@ -235820,7 +235822,7 @@ const ffo = /* @__PURE__ */ Ho(rfo, [["render", dfo], ["__scopeId", "data-v-1bab
235820
235822
  })) : qe("", !0)
235821
235823
  ], 4));
235822
235824
  }
235823
- }), Jjt = /* @__PURE__ */ Hr(Ffo, [["__scopeId", "data-v-8fe2c4e1"]]), Bfo = {
235825
+ }), Jjt = /* @__PURE__ */ Hr(Ffo, [["__scopeId", "data-v-636638c1"]]), Bfo = {
235824
235826
  key: 1,
235825
235827
  class: "assigned-user-wrapper"
235826
235828
  }, Vfo = /* @__PURE__ */ _t({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arbocollab/arbo-web-scene",
3
3
  "description": "Arbo Web Scene",
4
- "version": "0.26.8-alpha.64",
4
+ "version": "0.26.8-alpha.65",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "scripts": {