@beam3_dev/api_module 0.0.298 → 0.0.299

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/dist/wb3Api.js CHANGED
@@ -134,7 +134,7 @@ function Q(e, t, s) {
134
134
  };
135
135
  o(r);
136
136
  }
137
- async function Ie(e, t, s = !0) {
137
+ async function Ue(e, t, s = !0) {
138
138
  const n = e.events.findIndex((i) => i.uuid === t.uuid);
139
139
  return n === -1 ? e.events.push(t) : s ? e.events[n] = t : e.events.splice(n, 1), e.length > 0 && e.sort((i, r) => i.start - r.start), e;
140
140
  }
@@ -143,7 +143,7 @@ function m(e, t) {
143
143
  s.authenticatedRequest(e, t);
144
144
  });
145
145
  }
146
- function Ue(e, t, s) {
146
+ function Ie(e, t, s) {
147
147
  $(["DS/DataDragAndDrop/DataDragAndDrop"], (n) => {
148
148
  n.draggable(e, {
149
149
  data: t,
@@ -552,7 +552,7 @@ async function Xe(e, t = void 0, s = void 0, n = void 0) {
552
552
  }
553
553
  });
554
554
  }
555
- function I(e, t = void 0, s = void 0) {
555
+ function U(e, t = void 0, s = void 0) {
556
556
  if (e.objID && e.objID !== "") {
557
557
  let n = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
558
558
  m(n, {
@@ -596,7 +596,7 @@ function T(e, t = void 0, s = void 0) {
596
596
  }
597
597
  function k(e, t = void 0, s = void 0) {
598
598
  let n = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
599
- I(
599
+ U(
600
600
  e,
601
601
  (i) => {
602
602
  m(n, {
@@ -651,11 +651,14 @@ function G(e, t, s, n, i, r = void 0, a = void 0) {
651
651
  r,
652
652
  a
653
653
  );
654
- e.token ? o() : I(
654
+ e.token ? o() : U(
655
655
  e,
656
656
  t,
657
657
  (c) => {
658
- console.log("_3DSpace_file_update | _3DSpace_get_csrf| onDone | result", c), e.token = c, o();
658
+ console.log(
659
+ "_3DSpace_file_update | _3DSpace_get_csrf| onDone | result",
660
+ c
661
+ ), e.token = c, o();
659
662
  }
660
663
  );
661
664
  }
@@ -708,7 +711,7 @@ function ae(e, t, s, n, i, r, a = void 0, o = void 0) {
708
711
  }
709
712
  };
710
713
  e.tenant.toUpperCase(), m(
711
- e.space + `/resources/v1/modeler/documents/${docid}/files/${fileid}`,
714
+ e.space + `/resources/v1/modeler/documents/${t}/files/${s}`,
712
715
  w
713
716
  );
714
717
  }, _.onFailure = function(y) {
@@ -1002,7 +1005,7 @@ function re(e, t, s, n = void 0, i = void 0, r = void 0) {
1002
1005
  }
1003
1006
  });
1004
1007
  }
1005
- function U(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, a = !1) {
1008
+ function I(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, a = !1) {
1006
1009
  const o = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
1007
1010
  m(o, {
1008
1011
  method: "GET",
@@ -1237,7 +1240,7 @@ function et(e, t, s = void 0, n = void 0) {
1237
1240
  return new Promise((i) => {
1238
1241
  if (e.token === "" && T(e), t !== void 0 && t !== "" && t !== null) {
1239
1242
  const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
1240
- U(
1243
+ I(
1241
1244
  e.space,
1242
1245
  "ESPACE COMMUN",
1243
1246
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1278,7 +1281,7 @@ function tt(e, t, s = void 0, n = void 0) {
1278
1281
  return new Promise((i) => {
1279
1282
  if (e.token === "" && T(e), t !== void 0 && t !== "" && t !== null) {
1280
1283
  const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
1281
- U(
1284
+ I(
1282
1285
  e.space,
1283
1286
  "ESPACE COMMUN",
1284
1287
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1325,7 +1328,7 @@ function nt(e, t, s, n = void 0, i = void 0) {
1325
1328
  return new Promise((r) => {
1326
1329
  if (e.token === "" && T(e), t !== void 0 && t !== "" && t !== null) {
1327
1330
  const a = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
1328
- U(
1331
+ I(
1329
1332
  e.space,
1330
1333
  "ESPACE COMMUN",
1331
1334
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1526,7 +1529,7 @@ async function ct(e, t, s = void 0, n = void 0) {
1526
1529
  }
1527
1530
  function dt(e, t, s, n = void 0, i = void 0) {
1528
1531
  const r = new Blob([JSON.stringify(t)], { type: "text/plain" });
1529
- e = { ...e, objID: s }, I(
1532
+ e = { ...e, objID: s }, U(
1530
1533
  e,
1531
1534
  (a) => {
1532
1535
  console.log("_3DSpace_get_csrf | onDone | data", a);
@@ -1553,7 +1556,7 @@ function dt(e, t, s, n = void 0, i = void 0) {
1553
1556
  let q, E;
1554
1557
  const A = [];
1555
1558
  async function ut(e, t = void 0, s = void 0) {
1556
- e.objID && e.objID !== "" ? I(
1559
+ e.objID && e.objID !== "" ? U(
1557
1560
  e,
1558
1561
  (n) => {
1559
1562
  t && t(n);
@@ -2516,7 +2519,7 @@ function Ft(e, t = void 0, s = void 0) {
2516
2519
  }
2517
2520
  });
2518
2521
  }
2519
- function It(e, t, s = void 0, n = void 0) {
2522
+ function Ut(e, t, s = void 0, n = void 0) {
2520
2523
  const i = e.space + "/api/user/find/login/" + t;
2521
2524
  C(
2522
2525
  e,
@@ -2536,7 +2539,7 @@ function It(e, t, s = void 0, n = void 0) {
2536
2539
  n
2537
2540
  );
2538
2541
  }
2539
- function Ut(e, t = void 0, s = void 0) {
2542
+ function It(e, t = void 0, s = void 0) {
2540
2543
  const {
2541
2544
  _3DSwym: n,
2542
2545
  _3DSwym_token: i,
@@ -2803,7 +2806,7 @@ function Wt(e, t = void 0, s = void 0) {
2803
2806
  const a = Z();
2804
2807
  console.log("platformeInfo", a);
2805
2808
  }
2806
- U(
2809
+ I(
2807
2810
  e,
2808
2811
  "Common space",
2809
2812
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -2890,11 +2893,11 @@ export {
2890
2893
  G as _3DSpace_file_update,
2891
2894
  ae as _3DSpace_file_update_csr,
2892
2895
  We as _3DSpace_file_url_csr,
2893
- I as _3DSpace_get_csrf,
2896
+ U as _3DSpace_get_csrf,
2894
2897
  J as _3DSpace_get_docInfo,
2895
2898
  de as _3DSpace_get_downloadTicket_multidoc,
2896
2899
  Xe as _3DSpace_get_multiDocInfo,
2897
- U as _3DSpace_get_securityContexts,
2900
+ I as _3DSpace_get_securityContexts,
2898
2901
  k as _3DSpace_get_ticket,
2899
2902
  nt as _3DSpace_lifecycle_changeRevision,
2900
2903
  Ze as _3DSpace_lifecycle_changeState,
@@ -2904,7 +2907,7 @@ export {
2904
2907
  st as _3DSpace_lifecycle_getRevisions,
2905
2908
  Ve as _3DSpace_put_docInfo,
2906
2909
  xt as _3DSwym_ForwardIdea,
2907
- Ut as _3DSwym_addComment,
2910
+ It as _3DSwym_addComment,
2908
2911
  wt as _3DSwym_buildDirectMessage,
2909
2912
  bt as _3DSwym_deleteIdea,
2910
2913
  $t as _3DSwym_editIdea,
@@ -2918,7 +2921,7 @@ export {
2918
2921
  Ot as _3DSwym_getOneIdea,
2919
2922
  C as _3DSwym_get_Token,
2920
2923
  Ft as _3DSwym_get_currentUser,
2921
- It as _3DSwym_get_findUser,
2924
+ Ut as _3DSwym_get_findUser,
2922
2925
  Tt as _3DSwym_postIdea,
2923
2926
  Ct as _3DSwym_postIdeaTemplate,
2924
2927
  P as _3DSwym_sendMessageData,
@@ -2945,7 +2948,7 @@ export {
2945
2948
  ve as _getServiceUrl_3DPassport,
2946
2949
  Rt as _getServiceUrl_Iterop,
2947
2950
  m as _httpCallAuthenticated,
2948
- Ue as _setDraggable,
2951
+ Ie as _setDraggable,
2949
2952
  je as _setDroppable,
2950
2953
  Re as _setupTagger,
2951
2954
  ft as addTagToDoc,
@@ -2975,6 +2978,6 @@ export {
2975
2978
  Ee as readUserGroupControl,
2976
2979
  mt as removeTagToDoc,
2977
2980
  Xt as sayHello,
2978
- Ie as updateEvent
2981
+ Ue as updateEvent
2979
2982
  };
2980
2983
  //# sourceMappingURL=wb3Api.js.map