@beam3_dev/api_module 0.0.268 → 0.0.269
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 +69 -83
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +6 -6
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v4 as K } from "uuid";
|
|
2
2
|
import { DateTime as O } from "luxon";
|
|
3
|
-
import { requirejs as $, widget as
|
|
3
|
+
import { requirejs as $, widget as v } from "@widget-lab/3ddashboard-utils";
|
|
4
4
|
function B() {
|
|
5
5
|
return K();
|
|
6
6
|
}
|
|
@@ -155,7 +155,7 @@ function be(e, t = void 0) {
|
|
|
155
155
|
$(["DS/TagNavigatorProxy/TagNavigatorProxy"], (s) => {
|
|
156
156
|
let n;
|
|
157
157
|
n === void 0 && (n = s.createProxy({
|
|
158
|
-
widgetId:
|
|
158
|
+
widgetId: v.id,
|
|
159
159
|
filteringMode: "WithFilteringServices"
|
|
160
160
|
}), t !== void 0 && n.addEvent("onFilterSubjectsChange", t)), n.setSubjectsTags(e);
|
|
161
161
|
});
|
|
@@ -171,7 +171,7 @@ async function $e(e, t = void 0, s = void 0) {
|
|
|
171
171
|
await $(
|
|
172
172
|
["DS/i3DXCompassServices/i3DXCompassServices"],
|
|
173
173
|
(n) => {
|
|
174
|
-
(!e || e === "") && (e =
|
|
174
|
+
(!e || e === "") && (e = v.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), t && t(
|
|
175
175
|
n.getPlatformServices({
|
|
176
176
|
platformId: e,
|
|
177
177
|
onComplete: t,
|
|
@@ -181,7 +181,7 @@ async function $e(e, t = void 0, s = void 0) {
|
|
|
181
181
|
}
|
|
182
182
|
);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function q() {
|
|
185
185
|
let e = {};
|
|
186
186
|
return $(["DS/PlatformAPI/PlatformAPI"], (t) => {
|
|
187
187
|
const s = t.getTenant(), n = t.getUser(), i = t.getAllApplicationConfigurations(), r = t.getApplicationConfiguration(
|
|
@@ -271,7 +271,7 @@ function Fe(e, t = void 0, s = void 0) {
|
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function Ue(e, t, s = void 0, n = void 0) {
|
|
275
275
|
let i = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${t}`;
|
|
276
276
|
m(i, {
|
|
277
277
|
onComplete(r, o, a) {
|
|
@@ -284,11 +284,11 @@ function Re(e, t, s = void 0, n = void 0) {
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
|
-
const
|
|
287
|
+
const R = {
|
|
288
288
|
"Content-Type": "application/json",
|
|
289
289
|
Accept: "application/json,text/javascript,*/*"
|
|
290
290
|
};
|
|
291
|
-
function
|
|
291
|
+
function Re(e, t, s = void 0, n = void 0) {
|
|
292
292
|
const { space: i, currentUser: r } = e, a = `${i}${{
|
|
293
293
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup"
|
|
294
294
|
}.URIUGr}`, c = {
|
|
@@ -305,7 +305,7 @@ function Ue(e, t, s = void 0, n = void 0) {
|
|
|
305
305
|
};
|
|
306
306
|
m(a, {
|
|
307
307
|
method: "POST",
|
|
308
|
-
headers:
|
|
308
|
+
headers: R,
|
|
309
309
|
data: JSON.stringify(c),
|
|
310
310
|
onComplete(d) {
|
|
311
311
|
s && s(JSON.parse(d));
|
|
@@ -336,7 +336,7 @@ function ke(e, t, s = void 0, n = void 0) {
|
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function Y(e, t = void 0, s = void 0) {
|
|
340
340
|
const { space: n, tenant: i } = e, r = n, o = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${i}`, c = {
|
|
341
341
|
method: "GET",
|
|
342
342
|
Accept: "application/json,*/*,test/javascript"
|
|
@@ -364,7 +364,7 @@ function je(e, t = void 0, s = void 0) {
|
|
|
364
364
|
const p = JSON.parse(u), f = {}, l = p.groups.filter((g) => g.uri.startsWith("uuid:"));
|
|
365
365
|
if (i && Object.keys(i).length > 0) {
|
|
366
366
|
const g = l.filter((_) => _.owner === i.email), h = l.filter((_) => _.members.includes(i.email)), y = g.concat(h);
|
|
367
|
-
f.iam = y, f.UG = l, f.iamMember = h,
|
|
367
|
+
f.iam = y, f.UG = l, f.iamMember = h, Y(
|
|
368
368
|
e,
|
|
369
369
|
(_) => {
|
|
370
370
|
f.rules = _, t && t(f);
|
|
@@ -383,13 +383,13 @@ function je(e, t = void 0, s = void 0) {
|
|
|
383
383
|
console.log(u);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function Ae(e, t) {
|
|
387
387
|
const { space: s } = e, i = `${s}/3drdfpersist/resources/v1/usersgroup/${t}`;
|
|
388
388
|
m(i, {
|
|
389
389
|
method: "DELETE"
|
|
390
390
|
});
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function ve(e, t, s, n = void 0, i = void 0) {
|
|
393
393
|
const { space: r, tenant: o } = e, a = {
|
|
394
394
|
URITI: "/3drdfpersist/resources/v1/template-instances",
|
|
395
395
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup",
|
|
@@ -400,7 +400,7 @@ function Ae(e, t, s, n = void 0, i = void 0) {
|
|
|
400
400
|
OPTsTenant: `tenant=dstenant:${o}`
|
|
401
401
|
}, c = s, d = `${r}${a.URIUGr}/${t}`, u = JSON.stringify(c);
|
|
402
402
|
m(d, {
|
|
403
|
-
headers:
|
|
403
|
+
headers: R,
|
|
404
404
|
method: "PATCH",
|
|
405
405
|
data: u,
|
|
406
406
|
type: "json",
|
|
@@ -416,7 +416,7 @@ function xe(e, t, s, n = void 0, i = void 0) {
|
|
|
416
416
|
const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
|
|
417
417
|
m(a, {
|
|
418
418
|
method: "PATCH",
|
|
419
|
-
headers:
|
|
419
|
+
headers: R,
|
|
420
420
|
data: JSON.stringify(s),
|
|
421
421
|
type: "json",
|
|
422
422
|
onComplete(d) {
|
|
@@ -694,9 +694,9 @@ function ee(e, t, s, n, i, r, o = void 0, a = void 0) {
|
|
|
694
694
|
onFailure(T) {
|
|
695
695
|
a && a(T);
|
|
696
696
|
}
|
|
697
|
-
},
|
|
697
|
+
}, w = e.tenant.toUpperCase();
|
|
698
698
|
m(
|
|
699
|
-
e.space + `/resources/v1/modeler/documents/?$include=versions&tenant=${
|
|
699
|
+
e.space + `/resources/v1/modeler/documents/?$include=versions&tenant=${w}&e6w-lang=en&e6w-timezone=-120&xrequestedwith=xmlhttprequest`,
|
|
700
700
|
S
|
|
701
701
|
);
|
|
702
702
|
}, y.onFailure = function(_) {
|
|
@@ -879,7 +879,7 @@ function se(e, t, s, n = void 0, i = void 0, r = void 0) {
|
|
|
879
879
|
}
|
|
880
880
|
});
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function U(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, o = !1) {
|
|
883
883
|
const a = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
|
|
884
884
|
m(a, {
|
|
885
885
|
method: "GET",
|
|
@@ -893,7 +893,7 @@ function R(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, o = !1
|
|
|
893
893
|
let h = g.couples;
|
|
894
894
|
h = h.filter(
|
|
895
895
|
(y, _, S) => _ === S.findIndex(
|
|
896
|
-
(
|
|
896
|
+
(w) => w.organization.pid === y.organization.pid && w.role.pid === y.role.pid
|
|
897
897
|
)
|
|
898
898
|
), s && (Array.isArray(s) ? s.forEach((y) => {
|
|
899
899
|
l || h.forEach((_) => {
|
|
@@ -901,7 +901,7 @@ function R(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, o = !1
|
|
|
901
901
|
l = y, f = n;
|
|
902
902
|
else if (y === _.role.name) {
|
|
903
903
|
let S = h.filter(
|
|
904
|
-
(
|
|
904
|
+
(w) => w.role.name === y
|
|
905
905
|
);
|
|
906
906
|
S.length === 1 ? (l = S[0].role.name, f = S[0].organization.title) : r(S);
|
|
907
907
|
}
|
|
@@ -1114,7 +1114,7 @@ function Be(e, t, s = void 0, n = void 0) {
|
|
|
1114
1114
|
return new Promise((i) => {
|
|
1115
1115
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1116
1116
|
const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
|
|
1117
|
-
|
|
1117
|
+
U(
|
|
1118
1118
|
e.space,
|
|
1119
1119
|
"ESPACE COMMUN",
|
|
1120
1120
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1155,7 +1155,7 @@ function We(e, t, s = void 0, n = void 0) {
|
|
|
1155
1155
|
return new Promise((i) => {
|
|
1156
1156
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1157
1157
|
const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
|
|
1158
|
-
|
|
1158
|
+
U(
|
|
1159
1159
|
e.space,
|
|
1160
1160
|
"ESPACE COMMUN",
|
|
1161
1161
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1202,7 +1202,7 @@ function Xe(e, t, s, n = void 0, i = void 0) {
|
|
|
1202
1202
|
return new Promise((r) => {
|
|
1203
1203
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1204
1204
|
const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
|
|
1205
|
-
|
|
1205
|
+
U(
|
|
1206
1206
|
e.space,
|
|
1207
1207
|
"ESPACE COMMUN",
|
|
1208
1208
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1278,7 +1278,7 @@ function Ve(e, t, s, n, i = void 0, r = void 0) {
|
|
|
1278
1278
|
m(a, u);
|
|
1279
1279
|
});
|
|
1280
1280
|
}
|
|
1281
|
-
function
|
|
1281
|
+
function qe(e, t, s, n, i = void 0, r = void 0) {
|
|
1282
1282
|
return console.log("credentials", e), new Promise((o) => {
|
|
1283
1283
|
`${e.space}`, JSON.stringify({
|
|
1284
1284
|
csrf: {
|
|
@@ -1302,7 +1302,7 @@ function Ye(e, t, s, n, i = void 0, r = void 0) {
|
|
|
1302
1302
|
});
|
|
1303
1303
|
}
|
|
1304
1304
|
//!SECTION
|
|
1305
|
-
function
|
|
1305
|
+
function Ye(e, t = void 0, s = void 0) {
|
|
1306
1306
|
const n = {
|
|
1307
1307
|
base: `${e.space}`,
|
|
1308
1308
|
uri: "/resources/bps/cspaces",
|
|
@@ -1659,7 +1659,7 @@ function it(e, t = "", s = void 0, n = void 0) {
|
|
|
1659
1659
|
}
|
|
1660
1660
|
});
|
|
1661
1661
|
}
|
|
1662
|
-
async function
|
|
1662
|
+
async function C(e, t = void 0, s = void 0) {
|
|
1663
1663
|
const n = e._3DSwym + "/api/index/tk";
|
|
1664
1664
|
return m(n, {
|
|
1665
1665
|
onComplete(i, r, o) {
|
|
@@ -1683,7 +1683,7 @@ function at(e, t = void 0, s = void 0) {
|
|
|
1683
1683
|
start: 0
|
|
1684
1684
|
}
|
|
1685
1685
|
};
|
|
1686
|
-
|
|
1686
|
+
C(e, (r) => {
|
|
1687
1687
|
m(n, {
|
|
1688
1688
|
method: "POST",
|
|
1689
1689
|
headers: {
|
|
@@ -1712,7 +1712,7 @@ function ot(e, t = void 0, s = void 0) {
|
|
|
1712
1712
|
maxNbOfCommonElements: "5"
|
|
1713
1713
|
}
|
|
1714
1714
|
};
|
|
1715
|
-
|
|
1715
|
+
C(e, (r) => {
|
|
1716
1716
|
m(n, {
|
|
1717
1717
|
method: "POST",
|
|
1718
1718
|
headers: {
|
|
@@ -1739,7 +1739,7 @@ function rt(e, t = void 0, s = void 0) {
|
|
|
1739
1739
|
limit: `/limit/${e.limit ? e.limit : 500}`,
|
|
1740
1740
|
page: `/page/${e.page ? e.page : "1"}`
|
|
1741
1741
|
}, i = `${n.base}${n.uri}${n.limit}${n.page}`, r = [];
|
|
1742
|
-
|
|
1742
|
+
C(e, (o) => {
|
|
1743
1743
|
m(i, {
|
|
1744
1744
|
method: "GET",
|
|
1745
1745
|
headers: {
|
|
@@ -1782,7 +1782,7 @@ function pe(e, t, s, n) {
|
|
|
1782
1782
|
community_id: t
|
|
1783
1783
|
}
|
|
1784
1784
|
};
|
|
1785
|
-
|
|
1785
|
+
C(e, (o) => {
|
|
1786
1786
|
m(i, {
|
|
1787
1787
|
method: "POST",
|
|
1788
1788
|
headers: {
|
|
@@ -1806,7 +1806,7 @@ function ct(e, t = void 0, s = void 0) {
|
|
|
1806
1806
|
const n = "YXdA5x4DSUKtlAi2wmnyTA";
|
|
1807
1807
|
e.commu_id || (e.commu_id = n);
|
|
1808
1808
|
const i = `${e._3DSwym}/api/v2/communities/${e.commu_id}/ideas/statuses`;
|
|
1809
|
-
|
|
1809
|
+
C(e, (r) => {
|
|
1810
1810
|
m(i, {
|
|
1811
1811
|
method: "GET",
|
|
1812
1812
|
headers: {
|
|
@@ -1840,13 +1840,13 @@ function dt(e, t, s = void 0, n = void 0) {
|
|
|
1840
1840
|
le(
|
|
1841
1841
|
c.users,
|
|
1842
1842
|
(p) => {
|
|
1843
|
-
p !== void 0 && (d.id_msg = p.id, u = !0,
|
|
1843
|
+
p !== void 0 && (d.id_msg = p.id, u = !0, A(e, d));
|
|
1844
1844
|
},
|
|
1845
1845
|
(p) => {
|
|
1846
1846
|
u = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", p), n && n(p), d.id_msg = "";
|
|
1847
1847
|
}
|
|
1848
1848
|
), u === !1 && setTimeout(() => {
|
|
1849
|
-
u === !1 &&
|
|
1849
|
+
u === !1 && C(e, (p) => {
|
|
1850
1850
|
m(a, {
|
|
1851
1851
|
method: "POST",
|
|
1852
1852
|
headers: {
|
|
@@ -1858,7 +1858,7 @@ function dt(e, t, s = void 0, n = void 0) {
|
|
|
1858
1858
|
type: "json",
|
|
1859
1859
|
onComplete(f, l, g) {
|
|
1860
1860
|
const h = f;
|
|
1861
|
-
h.reponse = JSON.parse(g.response), h.status = g.status, s && s(h), d.id_msg = h.result.id,
|
|
1861
|
+
h.reponse = JSON.parse(g.response), h.status = g.status, s && s(h), d.id_msg = h.result.id, A(e, d);
|
|
1862
1862
|
},
|
|
1863
1863
|
onFailure(f, l, g) {
|
|
1864
1864
|
const h = f;
|
|
@@ -1870,7 +1870,7 @@ function dt(e, t, s = void 0, n = void 0) {
|
|
|
1870
1870
|
}
|
|
1871
1871
|
function le(e, t, s, n) {
|
|
1872
1872
|
const i = `${e._3DSwym}/api/directmessages/lite?with_favorites=false`;
|
|
1873
|
-
|
|
1873
|
+
C(e, (r) => {
|
|
1874
1874
|
m(i, {
|
|
1875
1875
|
method: "GET",
|
|
1876
1876
|
headers: {
|
|
@@ -1897,7 +1897,7 @@ function le(e, t, s, n) {
|
|
|
1897
1897
|
});
|
|
1898
1898
|
});
|
|
1899
1899
|
}
|
|
1900
|
-
function
|
|
1900
|
+
function A(e, t, s = void 0, n = void 0) {
|
|
1901
1901
|
const i = {
|
|
1902
1902
|
base: e._3DSwym,
|
|
1903
1903
|
uri: "/api/community",
|
|
@@ -1913,7 +1913,7 @@ function v(e, t, s = void 0, n = void 0) {
|
|
|
1913
1913
|
parentCommentUri: null,
|
|
1914
1914
|
richMessage: t.msg
|
|
1915
1915
|
};
|
|
1916
|
-
console.log("_3dSwym_sendDirectMessageData url ", r),
|
|
1916
|
+
console.log("_3dSwym_sendDirectMessageData url ", r), C(e, (a) => {
|
|
1917
1917
|
m(r, {
|
|
1918
1918
|
method: "POST",
|
|
1919
1919
|
headers: {
|
|
@@ -1958,7 +1958,7 @@ function ut(e, t, s = void 0, n = void 0) {
|
|
|
1958
1958
|
// 1 publier, 0 non publier
|
|
1959
1959
|
}
|
|
1960
1960
|
};
|
|
1961
|
-
|
|
1961
|
+
C(e, (c) => {
|
|
1962
1962
|
const d = {
|
|
1963
1963
|
"Content-type": "application/json;charset=UTF-8",
|
|
1964
1964
|
Accept: "application/json",
|
|
@@ -2020,7 +2020,7 @@ function pt(e, t = void 0, s = void 0) {
|
|
|
2020
2020
|
// 1 publier, 0 brouillon
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
|
-
|
|
2023
|
+
C(e, (o) => {
|
|
2024
2024
|
if (!o)
|
|
2025
2025
|
throw new Error(
|
|
2026
2026
|
`☠️ token n'est pas disponible pour cette requête : ${n.base + n.uri}`,
|
|
@@ -2060,7 +2060,7 @@ function lt(e, t, s = void 0, n = void 0) {
|
|
|
2060
2060
|
ideationIds: [t.idee_id]
|
|
2061
2061
|
}
|
|
2062
2062
|
};
|
|
2063
|
-
|
|
2063
|
+
C(e, (o) => {
|
|
2064
2064
|
m(i, {
|
|
2065
2065
|
method: "POST",
|
|
2066
2066
|
headers: {
|
|
@@ -2166,7 +2166,7 @@ function gt(e, t, s = void 0, n = void 0) {
|
|
|
2166
2166
|
page: `/page/${a}`
|
|
2167
2167
|
};
|
|
2168
2168
|
let g = `${i}${l.uri}${l.comId}${l.limit}${l.page}`;
|
|
2169
|
-
|
|
2169
|
+
C(e, (h) => {
|
|
2170
2170
|
const y = (_) => {
|
|
2171
2171
|
m(_, {
|
|
2172
2172
|
method: "GET",
|
|
@@ -2174,12 +2174,12 @@ function gt(e, t, s = void 0, n = void 0) {
|
|
|
2174
2174
|
"X-DS-SWYM-CSRFTOKEN": h.result.ServerToken
|
|
2175
2175
|
},
|
|
2176
2176
|
onComplete(S) {
|
|
2177
|
-
const
|
|
2178
|
-
if (f = Math.ceil(Number(
|
|
2177
|
+
const w = { response: JSON.parse(S) };
|
|
2178
|
+
if (f = Math.ceil(Number(w.response.nb_result) / 100), S && f >= a) {
|
|
2179
2179
|
if (a++, l.page = `/page/${a}`, _ = `${i}${l.uri}${l.comId}${l.limit}${l.page}`, !c)
|
|
2180
|
-
d.push(
|
|
2180
|
+
d.push(w.response.result);
|
|
2181
2181
|
else {
|
|
2182
|
-
const T =
|
|
2182
|
+
const T = w.response.result.find(
|
|
2183
2183
|
(E) => E.title.includes(c)
|
|
2184
2184
|
);
|
|
2185
2185
|
if (T) {
|
|
@@ -2194,9 +2194,9 @@ function gt(e, t, s = void 0, n = void 0) {
|
|
|
2194
2194
|
y(_);
|
|
2195
2195
|
}
|
|
2196
2196
|
},
|
|
2197
|
-
onFailure(S,
|
|
2197
|
+
onFailure(S, w) {
|
|
2198
2198
|
const T = S;
|
|
2199
|
-
T.status =
|
|
2199
|
+
T.status = w.status, T.response = w.errormsg, n && n(T);
|
|
2200
2200
|
}
|
|
2201
2201
|
});
|
|
2202
2202
|
};
|
|
@@ -2316,21 +2316,7 @@ function yt(e, t = void 0, s = void 0) {
|
|
|
2316
2316
|
try {
|
|
2317
2317
|
const { _3DDashboard: r, _3DSwym: o } = e;
|
|
2318
2318
|
let a;
|
|
2319
|
-
if (
|
|
2320
|
-
const c = e._3DSwym + "/api/user/getcurrent/";
|
|
2321
|
-
w(e, (d) => {
|
|
2322
|
-
m(c, {
|
|
2323
|
-
method: "GET",
|
|
2324
|
-
headers: {
|
|
2325
|
-
"X-DS-SWYM-CSRFTOKEN": d.result.ServerToken
|
|
2326
|
-
},
|
|
2327
|
-
onComplete(u, p, f) {
|
|
2328
|
-
a = JSON.parse(u).result;
|
|
2329
|
-
}
|
|
2330
|
-
});
|
|
2331
|
-
});
|
|
2332
|
-
}
|
|
2333
|
-
if (!a) {
|
|
2319
|
+
if (console.log("_3DSwym_get_currentUser", e), r) {
|
|
2334
2320
|
const c = r + "/api/users/current";
|
|
2335
2321
|
m(c, {
|
|
2336
2322
|
method: "GET",
|
|
@@ -2351,7 +2337,7 @@ function yt(e, t = void 0, s = void 0) {
|
|
|
2351
2337
|
}
|
|
2352
2338
|
function _t(e, t, s = void 0, n = void 0) {
|
|
2353
2339
|
const i = e.space + "/api/user/find/login/" + t;
|
|
2354
|
-
|
|
2340
|
+
C(
|
|
2355
2341
|
e,
|
|
2356
2342
|
(r) => {
|
|
2357
2343
|
m(i, {
|
|
@@ -2530,7 +2516,7 @@ async function Ft(e, t, s, n, i = void 0, r = void 0) {
|
|
|
2530
2516
|
});
|
|
2531
2517
|
}
|
|
2532
2518
|
}
|
|
2533
|
-
async function
|
|
2519
|
+
async function Ut(e, t, s, n = void 0, i = void 0) {
|
|
2534
2520
|
if (e.tenant) {
|
|
2535
2521
|
const r = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/create/?t=${t}&b=${encodeURIComponent(
|
|
2536
2522
|
s
|
|
@@ -2547,7 +2533,7 @@ async function Rt(e, t, s, n = void 0, i = void 0) {
|
|
|
2547
2533
|
});
|
|
2548
2534
|
}
|
|
2549
2535
|
}
|
|
2550
|
-
async function
|
|
2536
|
+
async function Rt(e, t, s, n, i = void 0, r = void 0) {
|
|
2551
2537
|
if (e.tenant) {
|
|
2552
2538
|
const o = e.tenant.toLowerCase();
|
|
2553
2539
|
fetch(
|
|
@@ -2592,7 +2578,7 @@ async function jt(e, t, s, n, i, r = void 0, o = void 0) {
|
|
|
2592
2578
|
});
|
|
2593
2579
|
}
|
|
2594
2580
|
}
|
|
2595
|
-
async function
|
|
2581
|
+
async function At(e, t, s, n, i = void 0, r = void 0) {
|
|
2596
2582
|
if (e.tenant) {
|
|
2597
2583
|
const o = e.tenant.toLowerCase();
|
|
2598
2584
|
fetch(
|
|
@@ -2608,7 +2594,7 @@ async function vt(e, t, s, n, i = void 0, r = void 0) {
|
|
|
2608
2594
|
}
|
|
2609
2595
|
}
|
|
2610
2596
|
//!SECTION
|
|
2611
|
-
async function
|
|
2597
|
+
async function vt(e, t, s, n = void 0, i = void 0) {
|
|
2612
2598
|
if (e.tenant) {
|
|
2613
2599
|
const r = e.tenant.toLowerCase();
|
|
2614
2600
|
fetch(
|
|
@@ -2631,10 +2617,10 @@ function xt(e) {
|
|
|
2631
2617
|
function Dt(e, t = void 0, s = void 0) {
|
|
2632
2618
|
return console.log("credentials", e), new Promise((n) => {
|
|
2633
2619
|
if (e.token === "" && b(e), !e.space || e.space === "") {
|
|
2634
|
-
const o =
|
|
2620
|
+
const o = q();
|
|
2635
2621
|
console.log("platformeInfo", o);
|
|
2636
2622
|
}
|
|
2637
|
-
|
|
2623
|
+
U(
|
|
2638
2624
|
e,
|
|
2639
2625
|
"Common space",
|
|
2640
2626
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -2712,7 +2698,7 @@ export {
|
|
|
2712
2698
|
Dt as _3DSearch_usersGroup,
|
|
2713
2699
|
Ge as _3DSpace_Create_Doc,
|
|
2714
2700
|
Je as _3DSpace_Update_Doc,
|
|
2715
|
-
|
|
2701
|
+
qe as _3DSpace_bookmark_addSubsciptions,
|
|
2716
2702
|
Ve as _3DSpace_bookmark_newWorkspace,
|
|
2717
2703
|
b as _3DSpace_csrf,
|
|
2718
2704
|
L as _3DSpace_download_doc,
|
|
@@ -2724,7 +2710,7 @@ export {
|
|
|
2724
2710
|
D as _3DSpace_get_docInfo,
|
|
2725
2711
|
ae as _3DSpace_get_downloadTicket_multidoc,
|
|
2726
2712
|
Pe as _3DSpace_get_multiDocInfo,
|
|
2727
|
-
|
|
2713
|
+
U as _3DSpace_get_securityContexts,
|
|
2728
2714
|
k as _3DSpace_get_ticket,
|
|
2729
2715
|
Xe as _3DSpace_lifecycle_changeRevision,
|
|
2730
2716
|
Ke as _3DSpace_lifecycle_changeState,
|
|
@@ -2745,29 +2731,29 @@ export {
|
|
|
2745
2731
|
ct as _3DSwym_getIdeaStatusMaturity,
|
|
2746
2732
|
pe as _3DSwym_getMembersCommunity,
|
|
2747
2733
|
ft as _3DSwym_getOneIdea,
|
|
2748
|
-
|
|
2734
|
+
C as _3DSwym_get_Token,
|
|
2749
2735
|
yt as _3DSwym_get_currentUser,
|
|
2750
2736
|
_t as _3DSwym_get_findUser,
|
|
2751
2737
|
pt as _3DSwym_postIdea,
|
|
2752
2738
|
ut as _3DSwym_postIdeaTemplate,
|
|
2753
|
-
|
|
2754
|
-
|
|
2739
|
+
A as _3DSwym_sendMessageData,
|
|
2740
|
+
Ue as _AppMngt_get_info_user,
|
|
2755
2741
|
Fe as _AppMngt_get_users,
|
|
2756
2742
|
Nt as _Iterop_AddOrRemoveRows,
|
|
2757
2743
|
Ct as _Iterop_Auth_CAS,
|
|
2758
2744
|
kt as _Iterop_GetOneDependencyTable,
|
|
2759
|
-
|
|
2745
|
+
vt as _Iterop_GetOneList,
|
|
2760
2746
|
jt as _Iterop_PatchDependencyTable,
|
|
2761
|
-
|
|
2747
|
+
At as _Iterop_PutDependencyTable,
|
|
2762
2748
|
It as _Iterop_businessTableSearchInRows,
|
|
2763
|
-
|
|
2749
|
+
Ut as _Iterop_createBusinessTable,
|
|
2764
2750
|
bt as _Iterop_getAllBusinessTables,
|
|
2765
2751
|
Ot as _Iterop_getOneBusinessTable,
|
|
2766
2752
|
$t as _Iterop_getOneBusinessTableRows,
|
|
2767
2753
|
Tt as _Iterop_jwtUser,
|
|
2768
|
-
|
|
2754
|
+
Rt as _Iterop_runProcess,
|
|
2769
2755
|
Ft as _Iterop_updateBusinessTable,
|
|
2770
|
-
|
|
2756
|
+
q as _getPlateformInfos,
|
|
2771
2757
|
$e as _getPlatformServices,
|
|
2772
2758
|
x as _getServiceUrl,
|
|
2773
2759
|
Ne as _getServiceUrl_3DPassport,
|
|
@@ -2780,11 +2766,11 @@ export {
|
|
|
2780
2766
|
X as chunkArray,
|
|
2781
2767
|
Ie as compass_getListAdditionalApps,
|
|
2782
2768
|
W as couleurs,
|
|
2783
|
-
|
|
2769
|
+
Re as createUserGroups,
|
|
2784
2770
|
oe as dataMixing,
|
|
2785
|
-
|
|
2771
|
+
Ae as deleteUserGroups,
|
|
2786
2772
|
Se as findAdresse,
|
|
2787
|
-
|
|
2773
|
+
Ye as getAllContextSecurity,
|
|
2788
2774
|
H as getCSRFToken,
|
|
2789
2775
|
_e as getCommunes,
|
|
2790
2776
|
ke as getComplementUG,
|
|
@@ -2795,9 +2781,9 @@ export {
|
|
|
2795
2781
|
ze as getDownloadDocument,
|
|
2796
2782
|
it as getInfoDocTags,
|
|
2797
2783
|
je as getUserGroupsList,
|
|
2798
|
-
|
|
2784
|
+
Y as getUsersGroupRules,
|
|
2799
2785
|
Ze as get_3DSpace_csrf,
|
|
2800
|
-
|
|
2786
|
+
ve as patchUserGroups,
|
|
2801
2787
|
xe as patchUserGroupsControl,
|
|
2802
2788
|
Qe as pushDataIn3DSpace,
|
|
2803
2789
|
De as readUserGroupControl,
|