@beam3_dev/api_module 0.0.171 → 0.0.173
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 +93 -92
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +4 -4
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v4 as G } from "uuid";
|
|
2
2
|
import { DateTime as v } from "luxon";
|
|
3
|
-
import { requirejs as O, widget as
|
|
4
|
-
function
|
|
3
|
+
import { requirejs as O, widget as P } from "@widget-lab/3ddashboard-utils";
|
|
4
|
+
function R() {
|
|
5
5
|
return G();
|
|
6
6
|
}
|
|
7
7
|
const E = {
|
|
@@ -121,7 +121,7 @@ function _e(e, t = void 0) {
|
|
|
121
121
|
O(["DS/TagNavigatorProxy/TagNavigatorProxy"], (n) => {
|
|
122
122
|
let s;
|
|
123
123
|
s === void 0 && (s = n.createProxy({
|
|
124
|
-
widgetId:
|
|
124
|
+
widgetId: P.id,
|
|
125
125
|
filteringMode: "WithFilteringServices"
|
|
126
126
|
}), t !== void 0 && s.addEvent("onFilterSubjectsChange", t)), s.setSubjectsTags(e);
|
|
127
127
|
});
|
|
@@ -137,7 +137,7 @@ async function we(e, t = void 0, n = void 0) {
|
|
|
137
137
|
await O(
|
|
138
138
|
["DS/i3DXCompassServices/i3DXCompassServices"],
|
|
139
139
|
(s) => {
|
|
140
|
-
(!e || e === "") && (e =
|
|
140
|
+
(!e || e === "") && (e = P.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), t && t(
|
|
141
141
|
s.getPlatformServices({
|
|
142
142
|
platformId: e,
|
|
143
143
|
onComplete: t,
|
|
@@ -213,8 +213,8 @@ function Te(e, t, n) {
|
|
|
213
213
|
},
|
|
214
214
|
onComplete(c, o, a) {
|
|
215
215
|
const r = JSON.parse(c), d = r.data.map((p) => {
|
|
216
|
-
const l = p.attributes.name,
|
|
217
|
-
return { name: l, id:
|
|
216
|
+
const l = p.attributes.name, u = p.id;
|
|
217
|
+
return { name: l, id: u };
|
|
218
218
|
});
|
|
219
219
|
t && t(d, r);
|
|
220
220
|
},
|
|
@@ -293,12 +293,12 @@ function $e(e, t, n = void 0, s = void 0) {
|
|
|
293
293
|
Accept: "application/json,text/javascript,*/*"
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
|
-
onComplete(
|
|
297
|
-
n && n(JSON.parse(
|
|
296
|
+
onComplete(u) {
|
|
297
|
+
n && n(JSON.parse(u));
|
|
298
298
|
},
|
|
299
|
-
onFailure(
|
|
300
|
-
const g =
|
|
301
|
-
g.msg =
|
|
299
|
+
onFailure(u, f) {
|
|
300
|
+
const g = u;
|
|
301
|
+
g.msg = f.errormsg, g.errCode = f.errorcode, s && s(g);
|
|
302
302
|
}
|
|
303
303
|
});
|
|
304
304
|
}
|
|
@@ -313,8 +313,8 @@ function V(e, t = void 0, n = void 0) {
|
|
|
313
313
|
t && t(JSON.parse(p));
|
|
314
314
|
},
|
|
315
315
|
onFailure(p, l) {
|
|
316
|
-
const
|
|
317
|
-
|
|
316
|
+
const u = p;
|
|
317
|
+
u.msg = l.errormsg, u.errCode = l.errorcode, n && n(u);
|
|
318
318
|
}
|
|
319
319
|
});
|
|
320
320
|
}
|
|
@@ -327,13 +327,13 @@ function ve(e, t = void 0, n = void 0) {
|
|
|
327
327
|
m(a, {
|
|
328
328
|
opts: d,
|
|
329
329
|
onComplete(p) {
|
|
330
|
-
const l = JSON.parse(p),
|
|
330
|
+
const l = JSON.parse(p), u = {}, f = l.groups.filter((g) => g.uri.startsWith("uuid:"));
|
|
331
331
|
if (i && Object.keys(i).length > 0) {
|
|
332
|
-
const g =
|
|
333
|
-
|
|
332
|
+
const g = f.filter((_) => _.owner === i.email), h = f.filter((_) => _.members.includes(i.email)), S = g.concat(h);
|
|
333
|
+
u.iam = S, u.UG = f, u.iamMember = h, V(
|
|
334
334
|
e,
|
|
335
335
|
(_) => {
|
|
336
|
-
|
|
336
|
+
u.rules = _, t && t(u);
|
|
337
337
|
},
|
|
338
338
|
(_) => {
|
|
339
339
|
n && n(_);
|
|
@@ -440,8 +440,8 @@ var X = function(e, t, n, s) {
|
|
|
440
440
|
var a = e.length;
|
|
441
441
|
o > 0 && a > o && (a = o);
|
|
442
442
|
for (var r = 0; r < a; ++r) {
|
|
443
|
-
var d = e[r].replace(c, "%20"), p = d.indexOf(n), l,
|
|
444
|
-
p >= 0 ? (l = d.substr(0, p),
|
|
443
|
+
var d = e[r].replace(c, "%20"), p = d.indexOf(n), l, u, f, g;
|
|
444
|
+
p >= 0 ? (l = d.substr(0, p), u = d.substr(p + 1)) : (l = d, u = ""), f = decodeURIComponent(l), g = decodeURIComponent(u), W(i, f) ? Array.isArray(i[f]) ? i[f].push(g) : i[f] = [i[f], g] : i[f] = g;
|
|
445
445
|
}
|
|
446
446
|
return i;
|
|
447
447
|
}, $ = function(e) {
|
|
@@ -621,8 +621,8 @@ function q(e, t, n, s, i, c, o = void 0, a = void 0) {
|
|
|
621
621
|
ENO_CSRF_TOKEN: e.token
|
|
622
622
|
},
|
|
623
623
|
onComplete(d, p, l) {
|
|
624
|
-
const
|
|
625
|
-
g.append("__fcs__jobTicket",
|
|
624
|
+
const u = JSON.parse(d).csrf, f = JSON.parse(d).data[0].dataelements, g = new FormData();
|
|
625
|
+
g.append("__fcs__jobTicket", f.ticket), g.append("file_0", s, i);
|
|
626
626
|
const h = {};
|
|
627
627
|
h.method = "POST", h.data = g, h.onComplete = function(S) {
|
|
628
628
|
let _ = {
|
|
@@ -631,7 +631,7 @@ function q(e, t, n, s, i, c, o = void 0, a = void 0) {
|
|
|
631
631
|
SecurityContext: "ctx::" + e.ctx
|
|
632
632
|
},
|
|
633
633
|
data: JSON.stringify({
|
|
634
|
-
csrf:
|
|
634
|
+
csrf: u,
|
|
635
635
|
data: [{
|
|
636
636
|
relateddata: {
|
|
637
637
|
files: [{
|
|
@@ -653,19 +653,18 @@ function q(e, t, n, s, i, c, o = void 0, a = void 0) {
|
|
|
653
653
|
onFailure(w) {
|
|
654
654
|
a && a(w);
|
|
655
655
|
}
|
|
656
|
-
};
|
|
657
|
-
const y = e.tenant.toUpperCase();
|
|
656
|
+
}, y = e.tenant.toUpperCase();
|
|
658
657
|
m(
|
|
659
658
|
e.space + `/resources/v1/modeler/documents/?$include=versions&tenant=${y}&e6w-lang=en&e6w-timezone=-120&xrequestedwith=xmlhttprequest`,
|
|
660
659
|
_
|
|
661
660
|
);
|
|
662
661
|
}, h.onFailure = function(S) {
|
|
663
662
|
a && a(S);
|
|
664
|
-
}, h.timeout = 0, m(
|
|
663
|
+
}, h.timeout = 0, m(f.ticketURL, h);
|
|
665
664
|
}
|
|
666
665
|
});
|
|
667
666
|
}
|
|
668
|
-
async function
|
|
667
|
+
async function xe(e, t, n, s, i = void 0, c = void 0) {
|
|
669
668
|
const o = e.space, a = e.token, r = e.ctx, d = new FormData(), p = new Blob([JSON.stringify(t)], {
|
|
670
669
|
type: "text/plain"
|
|
671
670
|
}), l = {
|
|
@@ -679,16 +678,17 @@ async function Pe(e, t, n, s, i = void 0, c = void 0) {
|
|
|
679
678
|
m(l.url_Ticket, {
|
|
680
679
|
method: "PUT",
|
|
681
680
|
headers: {
|
|
682
|
-
ENO_CSRF_TOKEN: a.value
|
|
681
|
+
ENO_CSRF_TOKEN: a.value,
|
|
682
|
+
SecurityContext: `ctx::${r}`
|
|
683
683
|
},
|
|
684
|
-
onComplete(
|
|
685
|
-
const h = JSON.parse(
|
|
686
|
-
d.append("__fcs__jobTicket", h.ticket), d.append("
|
|
684
|
+
onComplete(u, f, g) {
|
|
685
|
+
const h = JSON.parse(u).data[0].dataelements;
|
|
686
|
+
d.append("__fcs__jobTicket", h.ticket), d.append("file_0", p, n);
|
|
687
687
|
const S = {
|
|
688
688
|
method: "POST",
|
|
689
689
|
data: d,
|
|
690
690
|
onComplete(w) {
|
|
691
|
-
if (r !== "" && a !== "") {
|
|
691
|
+
if (r && r !== "" && a && a !== "") {
|
|
692
692
|
const k = {
|
|
693
693
|
method: "POST",
|
|
694
694
|
headers: {
|
|
@@ -697,6 +697,7 @@ async function Pe(e, t, n, s, i = void 0, c = void 0) {
|
|
|
697
697
|
"Content-Type": "application/json"
|
|
698
698
|
},
|
|
699
699
|
data: JSON.stringify({
|
|
700
|
+
csrf: u.csrf,
|
|
700
701
|
data: [{
|
|
701
702
|
type: "Document",
|
|
702
703
|
dataelements: {
|
|
@@ -712,7 +713,7 @@ async function Pe(e, t, n, s, i = void 0, c = void 0) {
|
|
|
712
713
|
}
|
|
713
714
|
}]
|
|
714
715
|
},
|
|
715
|
-
tempId:
|
|
716
|
+
tempId: "temp_" + R()
|
|
716
717
|
}]
|
|
717
718
|
}),
|
|
718
719
|
type: "json",
|
|
@@ -743,7 +744,7 @@ function N(e, t = void 0, n = void 0, s = void 0, i = void 0, c = void 0, o = !1
|
|
|
743
744
|
method: "GET",
|
|
744
745
|
onComplete(r) {
|
|
745
746
|
const d = JSON.parse(r);
|
|
746
|
-
let p = "", l,
|
|
747
|
+
let p = "", l, u, f;
|
|
747
748
|
if (t) {
|
|
748
749
|
let g = d.collabspaces.find((h) => h.title === t);
|
|
749
750
|
if (g) {
|
|
@@ -754,29 +755,29 @@ function N(e, t = void 0, n = void 0, s = void 0, i = void 0, c = void 0, o = !1
|
|
|
754
755
|
(w) => w.organization.pid === S.organization.pid && w.role.pid === S.role.pid
|
|
755
756
|
)
|
|
756
757
|
), n && (Array.isArray(n) ? n.forEach((S) => {
|
|
757
|
-
|
|
758
|
+
f || h.forEach((_) => {
|
|
758
759
|
if (S === _.role.name && s === _.organization.title)
|
|
759
|
-
|
|
760
|
+
f = S, u = s;
|
|
760
761
|
else if (S === _.role.name) {
|
|
761
762
|
let y = h.filter(
|
|
762
763
|
(w) => w.role.name === S
|
|
763
764
|
);
|
|
764
|
-
y.length === 1 ? (
|
|
765
|
+
y.length === 1 ? (f = y[0].role.name, u = y[0].organization.title) : c(y);
|
|
765
766
|
}
|
|
766
767
|
});
|
|
767
768
|
}) : h.forEach((S) => {
|
|
768
769
|
if (n === S.role.name && s === S.organization.title)
|
|
769
|
-
|
|
770
|
+
f = n, u = s;
|
|
770
771
|
else if (n === S.role.name) {
|
|
771
772
|
let _ = h.filter(
|
|
772
773
|
(y) => y.role.name === n
|
|
773
774
|
);
|
|
774
|
-
_.length === 1 ? (
|
|
775
|
+
_.length === 1 ? (f = _[0].role.name, u = _[0].organization.title) : c(_);
|
|
775
776
|
}
|
|
776
777
|
}));
|
|
777
778
|
}
|
|
778
779
|
}
|
|
779
|
-
l &&
|
|
780
|
+
l && u && f ? (p = f + "." + u + "." + l, i(p)) : d.preferredcredentials && o ? (p = d.preferredcredentials.role.name + "." + d.preferredcredentials.organization.title + "." + d.preferredcredentials.collabspace.title, i(p)) : c && (p = f + "." + u + "." + l, c(p));
|
|
780
781
|
},
|
|
781
782
|
onFailure(r, d) {
|
|
782
783
|
console.log("Erreur de récupération du contexte de sécurité. => ", {
|
|
@@ -886,14 +887,14 @@ function Z(e, t, n = void 0, s = void 0, i = void 0) {
|
|
|
886
887
|
const d = r.data;
|
|
887
888
|
r.success === !0 && (n && n(), d.forEach((p) => {
|
|
888
889
|
try {
|
|
889
|
-
const l = p.dataelements.fileName,
|
|
890
|
-
m(
|
|
891
|
-
onComplete: (
|
|
890
|
+
const l = p.dataelements.fileName, u = p.dataelements.ticketURL;
|
|
891
|
+
m(u, {
|
|
892
|
+
onComplete: (f, g) => {
|
|
892
893
|
let h;
|
|
893
894
|
try {
|
|
894
|
-
h = JSON.parse(
|
|
895
|
+
h = JSON.parse(f);
|
|
895
896
|
} catch {
|
|
896
|
-
h =
|
|
897
|
+
h = f.blob();
|
|
897
898
|
}
|
|
898
899
|
s && s({
|
|
899
900
|
objectId: p.id,
|
|
@@ -902,8 +903,8 @@ function Z(e, t, n = void 0, s = void 0, i = void 0) {
|
|
|
902
903
|
data: h
|
|
903
904
|
});
|
|
904
905
|
},
|
|
905
|
-
onFailure: (
|
|
906
|
-
console.log("error http",
|
|
906
|
+
onFailure: (f) => {
|
|
907
|
+
console.log("error http", f);
|
|
907
908
|
}
|
|
908
909
|
});
|
|
909
910
|
} catch (l) {
|
|
@@ -916,7 +917,7 @@ function Z(e, t, n = void 0, s = void 0, i = void 0) {
|
|
|
916
917
|
}
|
|
917
918
|
});
|
|
918
919
|
}
|
|
919
|
-
function
|
|
920
|
+
function Pe(e, t, n = void 0, s = void 0) {
|
|
920
921
|
return new Promise((i) => {
|
|
921
922
|
if (e.token === "" && T(e), t !== void 0 && t !== "" && t !== null) {
|
|
922
923
|
const c = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
|
|
@@ -955,7 +956,7 @@ function Re(e, t, n = void 0, s = void 0) {
|
|
|
955
956
|
}
|
|
956
957
|
});
|
|
957
958
|
}
|
|
958
|
-
function
|
|
959
|
+
function Re(e, t, n, s = void 0, i = void 0) {
|
|
959
960
|
return new Promise((c) => {
|
|
960
961
|
if (e.token === "" && T(e), t !== void 0 && t !== "" && t !== null) {
|
|
961
962
|
const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
|
|
@@ -1361,16 +1362,16 @@ function He(e, t, n = void 0, s = void 0) {
|
|
|
1361
1362
|
Accept: "application/json"
|
|
1362
1363
|
},
|
|
1363
1364
|
data: JSON.stringify(l),
|
|
1364
|
-
onComplete(
|
|
1365
|
-
JSON.parse(
|
|
1366
|
-
const
|
|
1365
|
+
onComplete(u) {
|
|
1366
|
+
JSON.parse(u);
|
|
1367
|
+
const f = {};
|
|
1367
1368
|
setTimeout(() => {
|
|
1368
1369
|
H(
|
|
1369
1370
|
e,
|
|
1370
1371
|
o,
|
|
1371
1372
|
(g) => {
|
|
1372
1373
|
const h = g.data[0].dataelements.title, S = g.data[0].dataelements.fileExtension !== void 0 ? g.data[0].dataelements.fileExtension : "", _ = g.data[0].relateddata.ownerInfo[0].dataelements.name;
|
|
1373
|
-
|
|
1374
|
+
f.name = h, f.ext = S, f.createBy = _, t.info = { ...f }, ie(
|
|
1374
1375
|
e,
|
|
1375
1376
|
t,
|
|
1376
1377
|
(y) => {
|
|
@@ -1388,9 +1389,9 @@ function He(e, t, n = void 0, s = void 0) {
|
|
|
1388
1389
|
);
|
|
1389
1390
|
}, 2e3);
|
|
1390
1391
|
},
|
|
1391
|
-
onFailure(
|
|
1392
|
-
const g =
|
|
1393
|
-
g.msg =
|
|
1392
|
+
onFailure(u, f) {
|
|
1393
|
+
const g = u;
|
|
1394
|
+
g.msg = f.errormsg, g.errCode = f.errorcode, console.log("❌ sendDirectMessage => ", g), s && s(g);
|
|
1394
1395
|
}
|
|
1395
1396
|
});
|
|
1396
1397
|
}
|
|
@@ -1402,7 +1403,7 @@ function ie(e, t, n = void 0, s = void 0) {
|
|
|
1402
1403
|
}, o = `${c.baseUrl}${c.uri}`, a = {
|
|
1403
1404
|
"Content-Type": "application/json",
|
|
1404
1405
|
Accept: "application/json,text/javascript,*/*"
|
|
1405
|
-
}, r =
|
|
1406
|
+
}, r = R(), d = {
|
|
1406
1407
|
with_indexing_date: !0,
|
|
1407
1408
|
with_synthesis: !0,
|
|
1408
1409
|
with_nls: !1,
|
|
@@ -1472,8 +1473,8 @@ function ie(e, t, n = void 0, s = void 0) {
|
|
|
1472
1473
|
n(l);
|
|
1473
1474
|
},
|
|
1474
1475
|
onFailure(p, l) {
|
|
1475
|
-
const
|
|
1476
|
-
|
|
1476
|
+
const u = p;
|
|
1477
|
+
u.msg = l.errormsg, u.errCode = l.errorcode, console.log("❌ sendDirectMessage => ", u), s && s(u), console.log("Erreur de recuperation d'id du doc et des tags", p);
|
|
1477
1478
|
}
|
|
1478
1479
|
});
|
|
1479
1480
|
}
|
|
@@ -1508,8 +1509,8 @@ function ze(e, t, n = void 0, s = void 0) {
|
|
|
1508
1509
|
n && n(p);
|
|
1509
1510
|
},
|
|
1510
1511
|
onFailure(p, l) {
|
|
1511
|
-
const
|
|
1512
|
-
|
|
1512
|
+
const u = p;
|
|
1513
|
+
u.msg = l.errormsg, u.errCode = l.errorcode, console.log("❌ sendDirectMessage => ", u), s && s(u);
|
|
1513
1514
|
}
|
|
1514
1515
|
});
|
|
1515
1516
|
}
|
|
@@ -1624,21 +1625,21 @@ function et(e, t = void 0, n = void 0) {
|
|
|
1624
1625
|
},
|
|
1625
1626
|
onComplete(a, r, d) {
|
|
1626
1627
|
const l = JSON.parse(a).result;
|
|
1627
|
-
let
|
|
1628
|
-
l.forEach((
|
|
1628
|
+
let u = 0;
|
|
1629
|
+
l.forEach((f) => {
|
|
1629
1630
|
const g = {
|
|
1630
|
-
description:
|
|
1631
|
-
id:
|
|
1632
|
-
title:
|
|
1633
|
-
owner:
|
|
1634
|
-
role:
|
|
1635
|
-
access:
|
|
1631
|
+
description: f.description,
|
|
1632
|
+
id: f.id,
|
|
1633
|
+
title: f.title,
|
|
1634
|
+
owner: f.owner,
|
|
1635
|
+
role: f.role,
|
|
1636
|
+
access: f.access
|
|
1636
1637
|
};
|
|
1637
1638
|
ae(
|
|
1638
1639
|
e,
|
|
1639
|
-
|
|
1640
|
+
f.id,
|
|
1640
1641
|
(h) => {
|
|
1641
|
-
|
|
1642
|
+
u++, g.members = h, c.push(g), u === l.length && t && t(c);
|
|
1642
1643
|
},
|
|
1643
1644
|
(h) => n(h)
|
|
1644
1645
|
);
|
|
@@ -1717,7 +1718,7 @@ function nt(e, t, n = void 0, s = void 0) {
|
|
|
1717
1718
|
oe(
|
|
1718
1719
|
a.users,
|
|
1719
1720
|
(p) => {
|
|
1720
|
-
p !== void 0 && (r.id_msg = p.id, d = !0,
|
|
1721
|
+
p !== void 0 && (r.id_msg = p.id, d = !0, x(e, r));
|
|
1721
1722
|
},
|
|
1722
1723
|
(p) => {
|
|
1723
1724
|
d = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", p), s && s(p), r.id_msg = "";
|
|
@@ -1733,13 +1734,13 @@ function nt(e, t, n = void 0, s = void 0) {
|
|
|
1733
1734
|
},
|
|
1734
1735
|
data: JSON.stringify(a),
|
|
1735
1736
|
type: "json",
|
|
1736
|
-
onComplete(l,
|
|
1737
|
+
onComplete(l, u, f) {
|
|
1737
1738
|
const g = l;
|
|
1738
|
-
g.reponse = JSON.parse(
|
|
1739
|
+
g.reponse = JSON.parse(f.response), g.status = f.status, n && n(g), r.id_msg = g.result.id, x(e, r);
|
|
1739
1740
|
},
|
|
1740
|
-
onFailure(l,
|
|
1741
|
+
onFailure(l, u, f) {
|
|
1741
1742
|
const g = l;
|
|
1742
|
-
g.msg =
|
|
1743
|
+
g.msg = u.errormsg, g.status = u.status, s && s(g);
|
|
1743
1744
|
}
|
|
1744
1745
|
});
|
|
1745
1746
|
});
|
|
@@ -1757,13 +1758,13 @@ function oe(e, t, n, s) {
|
|
|
1757
1758
|
onComplete(o) {
|
|
1758
1759
|
const a = JSON.parse(o), r = [];
|
|
1759
1760
|
a.result.forEach((l) => {
|
|
1760
|
-
l.users = l.users.sort((
|
|
1761
|
+
l.users = l.users.sort((u, f) => u.login.localeCompare(f.login)), l.users.length === t.length && r.push(l);
|
|
1761
1762
|
});
|
|
1762
1763
|
const d = t.sort(), p = r.find((l) => {
|
|
1763
|
-
const
|
|
1764
|
-
return l.users.forEach((
|
|
1765
|
-
|
|
1766
|
-
}), JSON.stringify(
|
|
1764
|
+
const u = [];
|
|
1765
|
+
return l.users.forEach((f) => {
|
|
1766
|
+
u.push(f.login);
|
|
1767
|
+
}), JSON.stringify(u) === JSON.stringify(d);
|
|
1767
1768
|
});
|
|
1768
1769
|
n && p !== void 0 ? n(p) : (s || p === void 0) && s(p);
|
|
1769
1770
|
},
|
|
@@ -1774,7 +1775,7 @@ function oe(e, t, n, s) {
|
|
|
1774
1775
|
});
|
|
1775
1776
|
});
|
|
1776
1777
|
}
|
|
1777
|
-
function
|
|
1778
|
+
function x(e, t, n = void 0, s = void 0) {
|
|
1778
1779
|
const i = {
|
|
1779
1780
|
base: e.space,
|
|
1780
1781
|
uri: "/api/community",
|
|
@@ -1856,13 +1857,13 @@ function st(e, t, n = void 0, s = void 0) {
|
|
|
1856
1857
|
headers: d,
|
|
1857
1858
|
data: JSON.stringify(a),
|
|
1858
1859
|
type: "json",
|
|
1859
|
-
onComplete(p, l,
|
|
1860
|
-
const
|
|
1861
|
-
|
|
1860
|
+
onComplete(p, l, u) {
|
|
1861
|
+
const f = JSON.parse(p);
|
|
1862
|
+
f.status = u.status, f.response = u.response, n && n(f);
|
|
1862
1863
|
},
|
|
1863
|
-
onFailure(p, l,
|
|
1864
|
-
const
|
|
1865
|
-
|
|
1864
|
+
onFailure(p, l, u) {
|
|
1865
|
+
const f = p;
|
|
1866
|
+
f.status = l.status, f.response = l.errormsg, s && s(f);
|
|
1866
1867
|
}
|
|
1867
1868
|
});
|
|
1868
1869
|
});
|
|
@@ -2251,9 +2252,9 @@ function _t(e, t = void 0, n = void 0) {
|
|
|
2251
2252
|
});
|
|
2252
2253
|
}
|
|
2253
2254
|
export {
|
|
2254
|
-
|
|
2255
|
+
R as UUID,
|
|
2255
2256
|
_t as _3DSearch_usersGroup,
|
|
2256
|
-
|
|
2257
|
+
xe as _3DSpace_Create_Doc,
|
|
2257
2258
|
Ge as _3DSpace_bookmark_addSubsciptions,
|
|
2258
2259
|
Je as _3DSpace_bookmark_newWorkspace,
|
|
2259
2260
|
T as _3DSpace_csrf,
|
|
@@ -2269,10 +2270,10 @@ export {
|
|
|
2269
2270
|
N as _3DSpace_get_securityContexts,
|
|
2270
2271
|
F as _3DSpace_get_ticket,
|
|
2271
2272
|
Me as _3DSpace_lifecycle_changeRevision,
|
|
2272
|
-
|
|
2273
|
+
Re as _3DSpace_lifecycle_changeState,
|
|
2273
2274
|
De as _3DSpace_lifecycle_getGraph,
|
|
2274
2275
|
Le as _3DSpace_lifecycle_getNextRevision,
|
|
2275
|
-
|
|
2276
|
+
Pe as _3DSpace_lifecycle_getNextStates,
|
|
2276
2277
|
nt as _3DSwym_buildDirectMessage,
|
|
2277
2278
|
it as _3DSwym_deleteIdea,
|
|
2278
2279
|
oe as _3DSwym_findCommunityToInstantMSG,
|
|
@@ -2287,7 +2288,7 @@ export {
|
|
|
2287
2288
|
ct as _3DSwym_get_findUser,
|
|
2288
2289
|
C as _3DSwym_get_version,
|
|
2289
2290
|
st as _3DSwym_postIdea,
|
|
2290
|
-
|
|
2291
|
+
x as _3DSwym_sendMessageData,
|
|
2291
2292
|
be as _AppMngt_get_info_user,
|
|
2292
2293
|
Oe as _AppMngt_get_users,
|
|
2293
2294
|
ht as _Iterop_AddOrRemoveRows,
|