@beam3_dev/api_module 0.0.204 → 0.0.206
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 +179 -209
- 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,6 +1,6 @@
|
|
|
1
1
|
import { v4 as B } from "uuid";
|
|
2
2
|
import { DateTime as N } from "luxon";
|
|
3
|
-
import { requirejs as O, widget as
|
|
3
|
+
import { requirejs as O, widget as R } from "@widget-lab/3ddashboard-utils";
|
|
4
4
|
function D() {
|
|
5
5
|
return B();
|
|
6
6
|
}
|
|
@@ -34,7 +34,7 @@ const V = {
|
|
|
34
34
|
b3Edit8: "#616161",
|
|
35
35
|
b3Edit9: "#795548"
|
|
36
36
|
};
|
|
37
|
-
async function
|
|
37
|
+
async function ge(e, t = void 0, s = void 0) {
|
|
38
38
|
const n = parseInt(e);
|
|
39
39
|
await fetch(
|
|
40
40
|
"https://apicarto.ign.fr/api/codes-postaux/communes/" + n,
|
|
@@ -50,7 +50,7 @@ async function he(e, t = void 0, s = void 0) {
|
|
|
50
50
|
s && s(i), console.error("Erreur : " + i);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
async function
|
|
53
|
+
async function he(e, t = void 0, s = void 0) {
|
|
54
54
|
e = encodeURIComponent(e), await fetch(
|
|
55
55
|
"https://api-adresse.data.gouv.fr/search/?q=" + e + "&limit=15",
|
|
56
56
|
{
|
|
@@ -65,7 +65,7 @@ async function ye(e, t = void 0, s = void 0) {
|
|
|
65
65
|
s && s(n), console.error("Erreur : " + n);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
async function
|
|
68
|
+
async function ye(e, t = V) {
|
|
69
69
|
let s = N.now().year;
|
|
70
70
|
const n = e, i = [], r = (a) => {
|
|
71
71
|
for (let c in a)
|
|
@@ -100,13 +100,13 @@ async function Se(e, t = V) {
|
|
|
100
100
|
return a;
|
|
101
101
|
})();
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function W(e, t, s) {
|
|
104
104
|
const { credentials: n, myArray: i, chunk: r, fn_to_call: o } = e, a = [];
|
|
105
105
|
for (let c = 0; c < i.length; c += r) {
|
|
106
106
|
const d = i.slice(c, c + r);
|
|
107
107
|
a.push(d);
|
|
108
108
|
}
|
|
109
|
-
|
|
109
|
+
X(
|
|
110
110
|
{ credentials: n, chunks: a, initLoop: 0, fn: o },
|
|
111
111
|
(c) => {
|
|
112
112
|
t && t(c);
|
|
@@ -116,7 +116,7 @@ function X(e, t, s) {
|
|
|
116
116
|
}
|
|
117
117
|
);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function X(e, t, s) {
|
|
120
120
|
const { credentials: n, chunks: i, initLoop: r, fn: o } = e, a = (c) => {
|
|
121
121
|
o(
|
|
122
122
|
n,
|
|
@@ -134,7 +134,7 @@ function W(e, t, s) {
|
|
|
134
134
|
};
|
|
135
135
|
a(r);
|
|
136
136
|
}
|
|
137
|
-
async function
|
|
137
|
+
async function Se(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
|
|
146
|
+
function _e(e, t, s) {
|
|
147
147
|
O(["DS/DataDragAndDrop/DataDragAndDrop"], (n) => {
|
|
148
148
|
n.draggable(e, {
|
|
149
149
|
data: t,
|
|
@@ -151,11 +151,11 @@ function we(e, t, s) {
|
|
|
151
151
|
});
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function we(e, t = void 0) {
|
|
155
155
|
O(["DS/TagNavigatorProxy/TagNavigatorProxy"], (s) => {
|
|
156
156
|
let n;
|
|
157
157
|
n === void 0 && (n = s.createProxy({
|
|
158
|
-
widgetId:
|
|
158
|
+
widgetId: R.id,
|
|
159
159
|
filteringMode: "WithFilteringServices"
|
|
160
160
|
}), t !== void 0 && n.addEvent("onFilterSubjectsChange", t)), n.setSubjectsTags(e);
|
|
161
161
|
});
|
|
@@ -167,11 +167,11 @@ function Ce(e, t) {
|
|
|
167
167
|
});
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
async function
|
|
170
|
+
async function Te(e, t = void 0, s = void 0) {
|
|
171
171
|
await O(
|
|
172
172
|
["DS/i3DXCompassServices/i3DXCompassServices"],
|
|
173
173
|
(n) => {
|
|
174
|
-
(!e || e === "") && (e =
|
|
174
|
+
(!e || e === "") && (e = R.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 be(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 O(["DS/PlatformAPI/PlatformAPI"], (t) => {
|
|
187
187
|
const s = t.getTenant(), n = t.getUser(), i = t.getAllApplicationConfigurations(), r = t.getApplicationConfiguration(
|
|
@@ -195,7 +195,7 @@ function Y() {
|
|
|
195
195
|
};
|
|
196
196
|
}), console.log("%cRETOUR API :", "color:blue", e), e;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function C(e, t = void 0, s = void 0) {
|
|
199
199
|
if (e.tenant) {
|
|
200
200
|
const n = `https://${e.tenant}-eu1-apps.3dexperience.3ds.com/enovia/resources/AppsMngt/api/v1/services?tenant=${e.tenant}&cors=true&xrequestedwith=xmlhttprequest`;
|
|
201
201
|
m(n, {
|
|
@@ -215,7 +215,7 @@ function T(e, t = void 0, s = void 0) {
|
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function be(e, t = void 0, s = void 0) {
|
|
219
219
|
if (e.tenant) {
|
|
220
220
|
const n = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dpassport&platformId=${e.tenant}`;
|
|
221
221
|
m(n, {
|
|
@@ -232,7 +232,7 @@ function Oe(e, t = void 0, s = void 0) {
|
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function Oe(e, t, s) {
|
|
236
236
|
const n = {
|
|
237
237
|
base: `${e.space}`,
|
|
238
238
|
uri: "/resources/AppsMngt/api/custom/applications",
|
|
@@ -258,7 +258,7 @@ function $e(e, t, s) {
|
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function $e(e, t = void 0, s = void 0) {
|
|
262
262
|
let n = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
|
|
263
263
|
m(n, {
|
|
264
264
|
onComplete(i, r, o) {
|
|
@@ -271,7 +271,7 @@ function ve(e, t = void 0, s = void 0) {
|
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function ve(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 Ne(e, t, s = void 0, n = void 0) {
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
|
-
const
|
|
287
|
+
const j = {
|
|
288
288
|
"Content-Type": "application/json",
|
|
289
289
|
Accept: "application/json,text/javascript,*/*"
|
|
290
290
|
};
|
|
291
|
-
function
|
|
291
|
+
function Ne(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 Ie(e, t, s = void 0, n = void 0) {
|
|
|
305
305
|
};
|
|
306
306
|
m(a, {
|
|
307
307
|
method: "POST",
|
|
308
|
-
headers:
|
|
308
|
+
headers: j,
|
|
309
309
|
data: JSON.stringify(c),
|
|
310
310
|
onComplete(d) {
|
|
311
311
|
s && s(JSON.parse(d));
|
|
@@ -317,7 +317,7 @@ function Ie(e, t, s = void 0, n = void 0) {
|
|
|
317
317
|
}
|
|
318
318
|
});
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Ie(e, t, s = void 0, n = void 0) {
|
|
321
321
|
const { space: i, tenant: r } = e, o = i, a = `/3drdfpersist/v1/resources/${t}`, c = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${r}`, d = `${o}${a}${c}`;
|
|
322
322
|
m(d, {
|
|
323
323
|
opts: {
|
|
@@ -336,7 +336,7 @@ function Ae(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 ke(e, t = void 0, s = void 0) {
|
|
|
364
364
|
const u = JSON.parse(p), f = {}, l = u.groups.filter((g) => g.uri.startsWith("uuid:"));
|
|
365
365
|
if (i && Object.keys(i).length > 0) {
|
|
366
366
|
const g = l.filter((S) => S.owner === i.email), h = l.filter((S) => S.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
|
(S) => {
|
|
370
370
|
f.rules = S, t && t(f);
|
|
@@ -383,13 +383,13 @@ function ke(e, t = void 0, s = void 0) {
|
|
|
383
383
|
console.log(p);
|
|
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 Fe(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 Ue(e, t, s, n = void 0, i = void 0) {
|
|
|
400
400
|
OPTsTenant: `tenant=dstenant:${o}`
|
|
401
401
|
}, c = s, d = `${r}${a.URIUGr}/${t}`, p = JSON.stringify(c);
|
|
402
402
|
m(d, {
|
|
403
|
-
headers:
|
|
403
|
+
headers: j,
|
|
404
404
|
method: "PATCH",
|
|
405
405
|
data: p,
|
|
406
406
|
type: "json",
|
|
@@ -416,7 +416,7 @@ function je(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: j,
|
|
420
420
|
data: JSON.stringify(s),
|
|
421
421
|
type: "json",
|
|
422
422
|
onComplete(d) {
|
|
@@ -427,7 +427,7 @@ function je(e, t, s, n = void 0, i = void 0) {
|
|
|
427
427
|
}
|
|
428
428
|
});
|
|
429
429
|
}
|
|
430
|
-
function
|
|
430
|
+
function Ue(e, t, s = void 0, n = void 0) {
|
|
431
431
|
const { space: i } = e, o = `${i}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
|
|
432
432
|
m(o, {
|
|
433
433
|
opts: {
|
|
@@ -516,7 +516,7 @@ async function L(e, t = void 0, s = void 0, n = void 0) {
|
|
|
516
516
|
}
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
async function
|
|
519
|
+
async function xe(e, t = void 0, s = void 0, n = void 0) {
|
|
520
520
|
const i = e.space;
|
|
521
521
|
if (t === void 0) {
|
|
522
522
|
console.log("Le paramètre docids est obligatoire");
|
|
@@ -540,7 +540,7 @@ async function Re(e, t = void 0, s = void 0, n = void 0) {
|
|
|
540
540
|
}
|
|
541
541
|
});
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function k(e, t = void 0, s = void 0) {
|
|
544
544
|
if (e.objID && e.objID !== "") {
|
|
545
545
|
let n = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
|
|
546
546
|
m(n, {
|
|
@@ -582,9 +582,9 @@ function b(e, t = void 0, s = void 0) {
|
|
|
582
582
|
} else
|
|
583
583
|
s && s("ERROR : url du 3DSpace non défini.");
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function U(e, t = void 0, s = void 0) {
|
|
586
586
|
let n = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
|
|
587
|
-
|
|
587
|
+
k(
|
|
588
588
|
e,
|
|
589
589
|
(i) => {
|
|
590
590
|
m(n, {
|
|
@@ -639,7 +639,7 @@ function M(e, t, s, n, i, r = void 0, o = void 0) {
|
|
|
639
639
|
r,
|
|
640
640
|
o
|
|
641
641
|
);
|
|
642
|
-
e.token ? a() :
|
|
642
|
+
e.token ? a() : k(
|
|
643
643
|
e,
|
|
644
644
|
t,
|
|
645
645
|
(c) => {
|
|
@@ -694,9 +694,9 @@ function ee(e, t, s, n, i, r, o = void 0, a = void 0) {
|
|
|
694
694
|
onFailure($) {
|
|
695
695
|
a && a($);
|
|
696
696
|
}
|
|
697
|
-
},
|
|
697
|
+
}, T = 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=${T}&e6w-lang=en&e6w-timezone=-120&xrequestedwith=xmlhttprequest`,
|
|
700
700
|
_
|
|
701
701
|
);
|
|
702
702
|
}, y.onFailure = function(S) {
|
|
@@ -705,7 +705,7 @@ function ee(e, t, s, n, i, r, o = void 0, a = void 0) {
|
|
|
705
705
|
}
|
|
706
706
|
});
|
|
707
707
|
}
|
|
708
|
-
async function
|
|
708
|
+
async function Re(e, t, s, n = void 0, i = void 0) {
|
|
709
709
|
e.space, e.token, e.ctx, L(
|
|
710
710
|
e,
|
|
711
711
|
t,
|
|
@@ -730,7 +730,7 @@ async function De(e, t, s, n = void 0, i = void 0) {
|
|
|
730
730
|
}
|
|
731
731
|
);
|
|
732
732
|
}
|
|
733
|
-
async function
|
|
733
|
+
async function De(e, t, s, n, i = void 0, r = void 0) {
|
|
734
734
|
const o = e.space, a = e.token, c = e.ctx;
|
|
735
735
|
if (o !== "") {
|
|
736
736
|
let d = `${o}/resources/v1/modeler/documents/files/CheckinTicket`;
|
|
@@ -749,7 +749,7 @@ async function Le(e, t, s, n, i = void 0, r = void 0) {
|
|
|
749
749
|
method: "POST",
|
|
750
750
|
data: g,
|
|
751
751
|
onComplete(_) {
|
|
752
|
-
let
|
|
752
|
+
let T = D(), $ = {
|
|
753
753
|
method: "POST",
|
|
754
754
|
headers: {
|
|
755
755
|
ENO_CSRF_TOKEN: a,
|
|
@@ -775,7 +775,7 @@ async function Le(e, t, s, n, i = void 0, r = void 0) {
|
|
|
775
775
|
}
|
|
776
776
|
]
|
|
777
777
|
},
|
|
778
|
-
tempId:
|
|
778
|
+
tempId: T
|
|
779
779
|
}
|
|
780
780
|
]
|
|
781
781
|
}),
|
|
@@ -802,7 +802,7 @@ async function Le(e, t, s, n, i = void 0, r = void 0) {
|
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
|
-
function
|
|
805
|
+
function A(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, o = !1) {
|
|
806
806
|
const a = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
|
|
807
807
|
m(a, {
|
|
808
808
|
method: "GET",
|
|
@@ -816,7 +816,7 @@ function k(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, o = !1
|
|
|
816
816
|
let h = g.couples;
|
|
817
817
|
h = h.filter(
|
|
818
818
|
(y, S, _) => S === _.findIndex(
|
|
819
|
-
(
|
|
819
|
+
(T) => T.organization.pid === y.organization.pid && T.role.pid === y.role.pid
|
|
820
820
|
)
|
|
821
821
|
), s && (Array.isArray(s) ? s.forEach((y) => {
|
|
822
822
|
l || h.forEach((S) => {
|
|
@@ -824,7 +824,7 @@ function k(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, o = !1
|
|
|
824
824
|
l = y, f = n;
|
|
825
825
|
else if (y === S.role.name) {
|
|
826
826
|
let _ = h.filter(
|
|
827
|
-
(
|
|
827
|
+
(T) => T.role.name === y
|
|
828
828
|
);
|
|
829
829
|
_.length === 1 ? (l = _[0].role.name, f = _[0].organization.title) : r(_);
|
|
830
830
|
}
|
|
@@ -867,7 +867,7 @@ async function J(e, t = void 0, s = void 0) {
|
|
|
867
867
|
console.log("☠️ error => ", n);
|
|
868
868
|
}
|
|
869
869
|
), new Promise((n, i) => {
|
|
870
|
-
|
|
870
|
+
U(
|
|
871
871
|
e,
|
|
872
872
|
(r) => {
|
|
873
873
|
e?.returnType === "blob" ? (console.log("ticketURL blob", r), fetch(r).then((o) => o.blob()).then((o) => {
|
|
@@ -904,7 +904,7 @@ async function J(e, t = void 0, s = void 0) {
|
|
|
904
904
|
});
|
|
905
905
|
}
|
|
906
906
|
async function te(e, t, s = void 0, n = void 0) {
|
|
907
|
-
typeof t < "u" && Array.isArray(t) && t?.length > 0 ?
|
|
907
|
+
typeof t < "u" && Array.isArray(t) && t?.length > 0 ? W({
|
|
908
908
|
credentials: e,
|
|
909
909
|
myArray: t,
|
|
910
910
|
chunk: 80,
|
|
@@ -970,7 +970,7 @@ function ne(e, t, s = void 0, n = void 0, i = void 0) {
|
|
|
970
970
|
}
|
|
971
971
|
});
|
|
972
972
|
}
|
|
973
|
-
function
|
|
973
|
+
function Le(e, t, s = void 0, n = void 0) {
|
|
974
974
|
return new Promise((i) => {
|
|
975
975
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
976
976
|
const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
|
|
@@ -1001,7 +1001,7 @@ function Me(e, t, s = void 0, n = void 0) {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
});
|
|
1003
1003
|
}
|
|
1004
|
-
function
|
|
1004
|
+
function Me(e, t, s, n = void 0, i = void 0) {
|
|
1005
1005
|
return new Promise((r) => {
|
|
1006
1006
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1007
1007
|
const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
|
|
@@ -1033,11 +1033,11 @@ function Je(e, t, s, n = void 0, i = void 0) {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
});
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1036
|
+
function Je(e, t, s = void 0, n = void 0) {
|
|
1037
1037
|
return new Promise((i) => {
|
|
1038
1038
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1039
1039
|
const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
|
|
1040
|
-
|
|
1040
|
+
A(
|
|
1041
1041
|
e.space,
|
|
1042
1042
|
"ESPACE COMMUN",
|
|
1043
1043
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1074,11 +1074,11 @@ function Ge(e, t, s = void 0, n = void 0) {
|
|
|
1074
1074
|
}
|
|
1075
1075
|
});
|
|
1076
1076
|
}
|
|
1077
|
-
function
|
|
1077
|
+
function Ge(e, t, s = void 0, n = void 0) {
|
|
1078
1078
|
return new Promise((i) => {
|
|
1079
1079
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1080
1080
|
const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
|
|
1081
|
-
|
|
1081
|
+
A(
|
|
1082
1082
|
e.space,
|
|
1083
1083
|
"ESPACE COMMUN",
|
|
1084
1084
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1121,11 +1121,11 @@ function Ee(e, t, s = void 0, n = void 0) {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
});
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1124
|
+
function Ee(e, t, s, n = void 0, i = void 0) {
|
|
1125
1125
|
return new Promise((r) => {
|
|
1126
1126
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1127
1127
|
const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
|
|
1128
|
-
|
|
1128
|
+
A(
|
|
1129
1129
|
e.space,
|
|
1130
1130
|
"ESPACE COMMUN",
|
|
1131
1131
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1168,7 +1168,7 @@ function Ke(e, t, s, n = void 0, i = void 0) {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
});
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1171
|
+
function Ke(e, t, s, n, i = void 0, r = void 0) {
|
|
1172
1172
|
return new Promise((o) => {
|
|
1173
1173
|
const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
|
|
1174
1174
|
let c = {
|
|
@@ -1201,7 +1201,7 @@ function Be(e, t, s, n, i = void 0, r = void 0) {
|
|
|
1201
1201
|
m(a, p);
|
|
1202
1202
|
});
|
|
1203
1203
|
}
|
|
1204
|
-
function
|
|
1204
|
+
function Be(e, t, s, n, i = void 0, r = void 0) {
|
|
1205
1205
|
return console.log("credentials", e), new Promise((o) => {
|
|
1206
1206
|
`${e.space}`, JSON.stringify({
|
|
1207
1207
|
csrf: {
|
|
@@ -1225,7 +1225,7 @@ function Ve(e, t, s, n, i = void 0, r = void 0) {
|
|
|
1225
1225
|
});
|
|
1226
1226
|
}
|
|
1227
1227
|
//!SECTION
|
|
1228
|
-
function
|
|
1228
|
+
function Ve(e, t = void 0, s = void 0) {
|
|
1229
1229
|
const n = {
|
|
1230
1230
|
base: `${e.space}`,
|
|
1231
1231
|
uri: "/resources/bps/cspaces",
|
|
@@ -1247,7 +1247,7 @@ function Xe(e, t = void 0, s = void 0) {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
function We(e, t, s, n) {
|
|
1250
|
-
|
|
1250
|
+
U(
|
|
1251
1251
|
e.space,
|
|
1252
1252
|
t,
|
|
1253
1253
|
(i) => {
|
|
@@ -1263,9 +1263,9 @@ function We(e, t, s, n) {
|
|
|
1263
1263
|
}
|
|
1264
1264
|
);
|
|
1265
1265
|
}
|
|
1266
|
-
async function
|
|
1266
|
+
async function Xe(e, t, s = void 0, n = void 0) {
|
|
1267
1267
|
return new Promise((i) => {
|
|
1268
|
-
|
|
1268
|
+
U(e, t, (r) => {
|
|
1269
1269
|
m(r, {
|
|
1270
1270
|
onComplete: (o, a, c) => (i(JSON.parse(o)), s && s(JSON.parse(o), a, c), i),
|
|
1271
1271
|
onFailure: (o, a, c) => {
|
|
@@ -1277,7 +1277,7 @@ async function Ye(e, t, s = void 0, n = void 0) {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
function qe(e, t, s, n = void 0, i = void 0) {
|
|
1279
1279
|
const r = new Blob([JSON.stringify(t)], { type: "text/plain" });
|
|
1280
|
-
|
|
1280
|
+
k(
|
|
1281
1281
|
e,
|
|
1282
1282
|
s,
|
|
1283
1283
|
(o) => {
|
|
@@ -1300,8 +1300,8 @@ function qe(e, t, s, n = void 0, i = void 0) {
|
|
|
1300
1300
|
}
|
|
1301
1301
|
let G, E;
|
|
1302
1302
|
const x = [];
|
|
1303
|
-
async function
|
|
1304
|
-
e.objID && e.objID !== "" ?
|
|
1303
|
+
async function Ye(e, t = void 0, s = void 0) {
|
|
1304
|
+
e.objID && e.objID !== "" ? k(
|
|
1305
1305
|
e,
|
|
1306
1306
|
(n) => {
|
|
1307
1307
|
t && t(n);
|
|
@@ -1319,7 +1319,7 @@ async function He(e, t = void 0, s = void 0) {
|
|
|
1319
1319
|
}
|
|
1320
1320
|
);
|
|
1321
1321
|
}
|
|
1322
|
-
async function
|
|
1322
|
+
async function He(e, t = void 0, s = void 0) {
|
|
1323
1323
|
console.log("getDatasByTenant (getDocuments)", e), await J(
|
|
1324
1324
|
e,
|
|
1325
1325
|
(n) => {
|
|
@@ -1331,7 +1331,7 @@ async function ze(e, t = void 0, s = void 0) {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
);
|
|
1333
1333
|
}
|
|
1334
|
-
function
|
|
1334
|
+
function ze(e, t = void 0, s = void 0) {
|
|
1335
1335
|
const n = [];
|
|
1336
1336
|
if (!e.objIds && !Array.isArray(e.objIds) && e.objIds.length === 0) {
|
|
1337
1337
|
console.warn("la liste est vide ou n'est pas un tableau");
|
|
@@ -1380,7 +1380,7 @@ const ie = "FA35FB9B177A280065800EA0000F599C", ae = [
|
|
|
1380
1380
|
order_by: "desc",
|
|
1381
1381
|
tag: "testTag"
|
|
1382
1382
|
};
|
|
1383
|
-
function
|
|
1383
|
+
function Qe(e, t, s = void 0, n = void 0) {
|
|
1384
1384
|
const { space: i, tenant: r } = e, { objId: o, pred: a, tag: c } = t, d = {
|
|
1385
1385
|
uri: "/resources/6w/tags",
|
|
1386
1386
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1523,7 +1523,7 @@ function re(e, t, s = void 0, n = void 0) {
|
|
|
1523
1523
|
}
|
|
1524
1524
|
});
|
|
1525
1525
|
}
|
|
1526
|
-
function
|
|
1526
|
+
function Ze(e, t, s = void 0, n = void 0) {
|
|
1527
1527
|
const { objId: i, pred: r, tag: o } = t, a = {
|
|
1528
1528
|
uri: "/resources/6w/tags",
|
|
1529
1529
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1559,7 +1559,7 @@ function et(e, t, s = void 0, n = void 0) {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
});
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1562
|
+
function et(e, t = "", s = void 0, n = void 0) {
|
|
1563
1563
|
const { space: i } = e;
|
|
1564
1564
|
if (t === "")
|
|
1565
1565
|
return;
|
|
@@ -1595,7 +1595,7 @@ async function w(e, t = void 0, s = void 0) {
|
|
|
1595
1595
|
}
|
|
1596
1596
|
});
|
|
1597
1597
|
}
|
|
1598
|
-
function
|
|
1598
|
+
function tt(e, t = void 0, s = void 0) {
|
|
1599
1599
|
const n = `${e.space}/api/exalead/whatsnew`, i = {
|
|
1600
1600
|
params: {
|
|
1601
1601
|
community_id: null,
|
|
@@ -1625,7 +1625,7 @@ function nt(e, t = void 0, s = void 0) {
|
|
|
1625
1625
|
});
|
|
1626
1626
|
});
|
|
1627
1627
|
}
|
|
1628
|
-
function
|
|
1628
|
+
function nt(e, t = void 0, s = void 0) {
|
|
1629
1629
|
const n = `${e.space}/api/Recommendation/getpeoplefamiliartocurrentuser`, i = {
|
|
1630
1630
|
params: {
|
|
1631
1631
|
idsToFilterArr: [],
|
|
@@ -1655,7 +1655,7 @@ function st(e, t = void 0, s = void 0) {
|
|
|
1655
1655
|
});
|
|
1656
1656
|
});
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1658
|
+
function st(e, t = void 0, s = void 0) {
|
|
1659
1659
|
const n = {
|
|
1660
1660
|
base: e.space,
|
|
1661
1661
|
uri: "/api/community/listmycommunities",
|
|
@@ -1725,7 +1725,7 @@ function ce(e, t, s, n) {
|
|
|
1725
1725
|
});
|
|
1726
1726
|
});
|
|
1727
1727
|
}
|
|
1728
|
-
function
|
|
1728
|
+
function it(e, t = void 0, s = void 0) {
|
|
1729
1729
|
const n = "YXdA5x4DSUKtlAi2wmnyTA";
|
|
1730
1730
|
e.commu_id || (e.commu_id = n);
|
|
1731
1731
|
const i = `${e.space}/api/v2/communities/${e.commu_id}/ideas/statuses`;
|
|
@@ -1748,7 +1748,7 @@ function at(e, t = void 0, s = void 0) {
|
|
|
1748
1748
|
});
|
|
1749
1749
|
});
|
|
1750
1750
|
}
|
|
1751
|
-
function
|
|
1751
|
+
function at(e, t, s = void 0, n = void 0) {
|
|
1752
1752
|
const { listAllContacts: i, currentUser: r } = e;
|
|
1753
1753
|
console.log("__listAllContacts", i.hits);
|
|
1754
1754
|
const o = `${e.space}/api/directmessages`, a = {
|
|
@@ -1763,7 +1763,7 @@ function ot(e, t, s = void 0, n = void 0) {
|
|
|
1763
1763
|
de(
|
|
1764
1764
|
a.users,
|
|
1765
1765
|
(p) => {
|
|
1766
|
-
p !== void 0 && (c.id_msg = p.id, d = !0,
|
|
1766
|
+
p !== void 0 && (c.id_msg = p.id, d = !0, P(e, c));
|
|
1767
1767
|
},
|
|
1768
1768
|
(p) => {
|
|
1769
1769
|
d = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", p), n && n(p), c.id_msg = "";
|
|
@@ -1781,7 +1781,7 @@ function ot(e, t, s = void 0, n = void 0) {
|
|
|
1781
1781
|
type: "json",
|
|
1782
1782
|
onComplete(u, f, l) {
|
|
1783
1783
|
const g = u;
|
|
1784
|
-
g.reponse = JSON.parse(l.response), g.status = l.status, s && s(g), c.id_msg = g.result.id,
|
|
1784
|
+
g.reponse = JSON.parse(l.response), g.status = l.status, s && s(g), c.id_msg = g.result.id, P(e, c);
|
|
1785
1785
|
},
|
|
1786
1786
|
onFailure(u, f, l) {
|
|
1787
1787
|
const g = u;
|
|
@@ -1820,7 +1820,7 @@ function de(e, t, s, n) {
|
|
|
1820
1820
|
});
|
|
1821
1821
|
});
|
|
1822
1822
|
}
|
|
1823
|
-
function
|
|
1823
|
+
function P(e, t, s = void 0, n = void 0) {
|
|
1824
1824
|
const i = {
|
|
1825
1825
|
base: e.space,
|
|
1826
1826
|
uri: "/api/community",
|
|
@@ -1864,17 +1864,7 @@ function pe(e) {
|
|
|
1864
1864
|
<hr/>
|
|
1865
1865
|
<p><u>envoyer :</u>Le <b>${t} à ${s}</b></p>`;
|
|
1866
1866
|
}
|
|
1867
|
-
|
|
1868
|
-
title: "TEST DEV COMMUNITY IDEA",
|
|
1869
|
-
// titre du post
|
|
1870
|
-
community_id: "YXdA5x4DSUKtlAi2wmnyTA",
|
|
1871
|
-
// STATUT PROJETS - Phase commerciale, tenant PIVETEAU TEST
|
|
1872
|
-
community_title: "TEST DEV COMMUNITY",
|
|
1873
|
-
// Possibilité de recherche par titre de la communauté (option)
|
|
1874
|
-
idee_id: "THhRI8rlQNWKRxpv3Xqqug"
|
|
1875
|
-
// id de l'idee qui est créer au post (_3dSwym_postIdea)
|
|
1876
|
-
};
|
|
1877
|
-
function rt(e, t, s = void 0, n = void 0) {
|
|
1867
|
+
function ot(e, t, s = void 0, n = void 0) {
|
|
1878
1868
|
const i = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
|
|
1879
1869
|
(c) => c.id === t.community_id
|
|
1880
1870
|
), o = e.swymCommunities.find(
|
|
@@ -1885,7 +1875,7 @@ function rt(e, t, s = void 0, n = void 0) {
|
|
|
1885
1875
|
// String, le nom de l'affaire
|
|
1886
1876
|
community_id: r?.id !== void 0 ? r.id : o.id,
|
|
1887
1877
|
// String, l'id de la communauté
|
|
1888
|
-
message:
|
|
1878
|
+
message: ue(t.text_html),
|
|
1889
1879
|
// STRING => le contenue du message doit être au format HTML
|
|
1890
1880
|
published: 1
|
|
1891
1881
|
// 1 publier, 0 non publier
|
|
@@ -1913,7 +1903,7 @@ function rt(e, t, s = void 0, n = void 0) {
|
|
|
1913
1903
|
});
|
|
1914
1904
|
});
|
|
1915
1905
|
}
|
|
1916
|
-
function
|
|
1906
|
+
function rt(e, t = void 0, s = void 0) {
|
|
1917
1907
|
const n = { base: e.space, uri: "/api/idea/add" };
|
|
1918
1908
|
if (!Array.isArray(e.swymCommunities)) {
|
|
1919
1909
|
const o = "☠️ swymCommunities doit être un tableau d'objets de communautés";
|
|
@@ -1986,7 +1976,7 @@ function ct(e, t = void 0, s = void 0) {
|
|
|
1986
1976
|
m(n.base + n.uri, a);
|
|
1987
1977
|
});
|
|
1988
1978
|
}
|
|
1989
|
-
function
|
|
1979
|
+
function ct(e, t, s = void 0, n = void 0) {
|
|
1990
1980
|
const i = `${e.space}/api/idea/delete`, r = {
|
|
1991
1981
|
params: {
|
|
1992
1982
|
community_id: t.community_id,
|
|
@@ -2013,7 +2003,7 @@ function dt(e, t, s = void 0, n = void 0) {
|
|
|
2013
2003
|
});
|
|
2014
2004
|
});
|
|
2015
2005
|
}
|
|
2016
|
-
function
|
|
2006
|
+
function dt(e, t = void 0, s = void 0) {
|
|
2017
2007
|
const n = `${e.space}/api/idea/get`;
|
|
2018
2008
|
if (e.idPost === "") {
|
|
2019
2009
|
const r = "☠️ idPost est vide, vous devez renseigner un identifiant de post";
|
|
@@ -2043,7 +2033,7 @@ function pt(e, t = void 0, s = void 0) {
|
|
|
2043
2033
|
});
|
|
2044
2034
|
});
|
|
2045
2035
|
}
|
|
2046
|
-
function
|
|
2036
|
+
function pt(e, t, s) {
|
|
2047
2037
|
const n = {
|
|
2048
2038
|
base: `${e.space}/api/idea/edit`,
|
|
2049
2039
|
uri: "/api/idea/edit"
|
|
@@ -2080,31 +2070,11 @@ function ut(e, t, s) {
|
|
|
2080
2070
|
m(n.base + n.uri, o);
|
|
2081
2071
|
});
|
|
2082
2072
|
}
|
|
2083
|
-
function
|
|
2084
|
-
|
|
2085
|
-
uri: "/api/idea/list",
|
|
2086
|
-
comId: `/community_id/${t.community_id}`,
|
|
2087
|
-
limit: `/limit/${t.limit ? t.limit : 100}`,
|
|
2088
|
-
page: `/page/${t.page ? t.page : 1}`
|
|
2089
|
-
}, r = `${e.space}${i.uri}${i.comId}${i.limit}${i.page}`;
|
|
2090
|
-
w(e, (o) => {
|
|
2091
|
-
m(r, {
|
|
2092
|
-
method: "GET",
|
|
2093
|
-
headers: {
|
|
2094
|
-
"X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
|
|
2095
|
-
},
|
|
2096
|
-
onComplete(a, c, d) {
|
|
2097
|
-
const p = { response: JSON.parse(a), head: c, xhr: d };
|
|
2098
|
-
s && s(p);
|
|
2099
|
-
},
|
|
2100
|
-
onFailure(a, c) {
|
|
2101
|
-
const d = a;
|
|
2102
|
-
d.status = c.status, d.response = c.errormsg, n && n(d);
|
|
2103
|
-
}
|
|
2104
|
-
});
|
|
2073
|
+
function ut(e, t, s = void 0, n = void 0) {
|
|
2074
|
+
w(e, (i) => {
|
|
2105
2075
|
});
|
|
2106
2076
|
}
|
|
2107
|
-
function
|
|
2077
|
+
function ue(e) {
|
|
2108
2078
|
return !e || e === "" ? `<h2><u>INFORMATIONS AFFAIRE :</u></h2>
|
|
2109
2079
|
<p><u>|⚠️<em> Merci de respecter l'écriture des tags, en MAJUSCULES, nom complet, pas de caractères</em></u></p>
|
|
2110
2080
|
<p><u><em>|spéciaux, séparation par "_" si besoin !</em></u></p>
|
|
@@ -2179,7 +2149,7 @@ function le(e) {
|
|
|
2179
2149
|
<p>
|
|
2180
2150
|
</p>` : e;
|
|
2181
2151
|
}
|
|
2182
|
-
function
|
|
2152
|
+
function lt(e, t = void 0, s = void 0) {
|
|
2183
2153
|
const n = e.space + "/api/user/getcurrent/";
|
|
2184
2154
|
w(e, (i) => {
|
|
2185
2155
|
m(n, {
|
|
@@ -2198,7 +2168,7 @@ function ft(e, t = void 0, s = void 0) {
|
|
|
2198
2168
|
});
|
|
2199
2169
|
});
|
|
2200
2170
|
}
|
|
2201
|
-
function
|
|
2171
|
+
function ft(e, t, s = void 0, n = void 0) {
|
|
2202
2172
|
const i = e.space + "/api/user/find/login/" + t;
|
|
2203
2173
|
w(
|
|
2204
2174
|
e,
|
|
@@ -2218,15 +2188,15 @@ function mt(e, t, s = void 0, n = void 0) {
|
|
|
2218
2188
|
n
|
|
2219
2189
|
);
|
|
2220
2190
|
}
|
|
2221
|
-
function
|
|
2222
|
-
e.tenant &&
|
|
2191
|
+
function mt(e, t = void 0, s = void 0) {
|
|
2192
|
+
e.tenant && C(e, (n) => {
|
|
2223
2193
|
console.log("serviceUrls", n);
|
|
2224
2194
|
const i = n.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
|
|
2225
2195
|
return t && t(i), i;
|
|
2226
2196
|
});
|
|
2227
2197
|
}
|
|
2228
|
-
function
|
|
2229
|
-
e.tenant &&
|
|
2198
|
+
function gt(e, t = void 0, s = void 0) {
|
|
2199
|
+
e.tenant && C(e, (n) => {
|
|
2230
2200
|
console.log("serviceUrls", n);
|
|
2231
2201
|
const i = n.services.find((a) => a.id === "3dpassport")?.url, r = n.services.find((a) => a.id === "businessprocess")?.url + "/api/v2", o = `${i}/login/?service=${r}/auth/cas`;
|
|
2232
2202
|
m(o, {
|
|
@@ -2245,7 +2215,7 @@ function ht(e, t = void 0, s = void 0) {
|
|
|
2245
2215
|
});
|
|
2246
2216
|
});
|
|
2247
2217
|
}
|
|
2248
|
-
function
|
|
2218
|
+
function ht(e, t = void 0, s = void 0) {
|
|
2249
2219
|
if (e.tenant) {
|
|
2250
2220
|
const n = e.tenant.toLowerCase();
|
|
2251
2221
|
fetch(`https://api.uixhome.fr/${n}/iterop/jwtuser`, {
|
|
@@ -2257,8 +2227,8 @@ function yt(e, t = void 0, s = void 0) {
|
|
|
2257
2227
|
});
|
|
2258
2228
|
}
|
|
2259
2229
|
}
|
|
2260
|
-
async function
|
|
2261
|
-
e.tenant &&
|
|
2230
|
+
async function yt(e, t, s = void 0, n = void 0) {
|
|
2231
|
+
e.tenant && C(e, (i) => {
|
|
2262
2232
|
const o = `${i.services.find((c) => c.id === "businessprocess")?.url + "/api/v2"}/identity/users`, a = e.tenant.toLowerCase();
|
|
2263
2233
|
fetch(`https://api.uixhome.fr/${a}/iterop/listusers?t=${t}&s=${o}`, {
|
|
2264
2234
|
method: "POST"
|
|
@@ -2269,8 +2239,8 @@ async function St(e, t, s = void 0, n = void 0) {
|
|
|
2269
2239
|
});
|
|
2270
2240
|
});
|
|
2271
2241
|
}
|
|
2272
|
-
async function
|
|
2273
|
-
e.tenant &&
|
|
2242
|
+
async function St(e, t, s = void 0, n = void 0) {
|
|
2243
|
+
e.tenant && C(e, (i) => {
|
|
2274
2244
|
const o = `${i.services.find((c) => c.id === "businessprocess")?.url + "/api/v2"}/repository/data/tables`, a = e.tenant.toLowerCase();
|
|
2275
2245
|
fetch(`https://api.uixhome.fr/${a}/iterop/repository/data/tables?t=${t}&s=${o}`, {
|
|
2276
2246
|
method: "GET"
|
|
@@ -2281,7 +2251,7 @@ async function _t(e, t, s = void 0, n = void 0) {
|
|
|
2281
2251
|
});
|
|
2282
2252
|
});
|
|
2283
2253
|
}
|
|
2284
|
-
async function
|
|
2254
|
+
async function _t(e, t, s, n = void 0, i = void 0) {
|
|
2285
2255
|
if (e.tenant) {
|
|
2286
2256
|
const r = e.tenant.toLowerCase();
|
|
2287
2257
|
fetch(`https://api.uixhome.fr/${r}/iterop//businesstable/${s}?t=${t}`, {
|
|
@@ -2293,7 +2263,7 @@ async function wt(e, t, s, n = void 0, i = void 0) {
|
|
|
2293
2263
|
});
|
|
2294
2264
|
}
|
|
2295
2265
|
}
|
|
2296
|
-
async function
|
|
2266
|
+
async function wt(e, t, s, n = void 0, i = void 0) {
|
|
2297
2267
|
if (e.tenant) {
|
|
2298
2268
|
const r = e.tenant.toLowerCase();
|
|
2299
2269
|
fetch(`https://api.uixhome.fr/${r}/iterop//businesstable/${s}/rows/?t=${t}`, {
|
|
@@ -2306,7 +2276,7 @@ async function Tt(e, t, s, n = void 0, i = void 0) {
|
|
|
2306
2276
|
}
|
|
2307
2277
|
}
|
|
2308
2278
|
async function Ct(e, t, s, n, i = void 0, r = void 0) {
|
|
2309
|
-
e.tenant &&
|
|
2279
|
+
e.tenant && C(e, (o) => {
|
|
2310
2280
|
o.services.find((c) => c.id === "businessprocess")?.url + "";
|
|
2311
2281
|
const a = e.tenant.toLowerCase();
|
|
2312
2282
|
fetch(
|
|
@@ -2321,8 +2291,8 @@ async function Ct(e, t, s, n, i = void 0, r = void 0) {
|
|
|
2321
2291
|
});
|
|
2322
2292
|
});
|
|
2323
2293
|
}
|
|
2324
|
-
async function
|
|
2325
|
-
e.tenant &&
|
|
2294
|
+
async function Tt(e, t, s, n, i, r = void 0, o = void 0) {
|
|
2295
|
+
e.tenant && C(e, (a) => {
|
|
2326
2296
|
a.services.find((d) => d.id === "businessprocess")?.url + "";
|
|
2327
2297
|
const c = e.tenant.toLowerCase();
|
|
2328
2298
|
fetch(
|
|
@@ -2337,8 +2307,8 @@ async function bt(e, t, s, n, i, r = void 0, o = void 0) {
|
|
|
2337
2307
|
});
|
|
2338
2308
|
});
|
|
2339
2309
|
}
|
|
2340
|
-
async function
|
|
2341
|
-
e.tenant &&
|
|
2310
|
+
async function bt(e, t, s, n = void 0, i = void 0) {
|
|
2311
|
+
e.tenant && C(e, (r) => {
|
|
2342
2312
|
r.services.find((a) => a.id === "businessprocess")?.url + "";
|
|
2343
2313
|
const o = e.tenant.toLowerCase();
|
|
2344
2314
|
fetch(
|
|
@@ -2353,8 +2323,8 @@ async function Ot(e, t, s, n = void 0, i = void 0) {
|
|
|
2353
2323
|
});
|
|
2354
2324
|
});
|
|
2355
2325
|
}
|
|
2356
|
-
async function
|
|
2357
|
-
e.tenant &&
|
|
2326
|
+
async function Ot(e, t, s, n, i, r = void 0, o = void 0) {
|
|
2327
|
+
e.tenant && C(e, (a) => {
|
|
2358
2328
|
a.services.find((d) => d.id === "businessprocess")?.url + "";
|
|
2359
2329
|
const c = e.tenant.toLowerCase();
|
|
2360
2330
|
fetch(
|
|
@@ -2369,8 +2339,8 @@ async function $t(e, t, s, n, i, r = void 0, o = void 0) {
|
|
|
2369
2339
|
});
|
|
2370
2340
|
});
|
|
2371
2341
|
}
|
|
2372
|
-
async function
|
|
2373
|
-
e.tenant &&
|
|
2342
|
+
async function $t(e, t, s, n, i = void 0, r = void 0) {
|
|
2343
|
+
e.tenant && C(e, (o) => {
|
|
2374
2344
|
o.services.find((c) => c.id === "businessprocess")?.url + "";
|
|
2375
2345
|
const a = e.tenant.toLowerCase();
|
|
2376
2346
|
fetch(
|
|
@@ -2385,17 +2355,17 @@ async function vt(e, t, s, n, i = void 0, r = void 0) {
|
|
|
2385
2355
|
});
|
|
2386
2356
|
});
|
|
2387
2357
|
}
|
|
2388
|
-
function
|
|
2358
|
+
function vt(e) {
|
|
2389
2359
|
const t = "Hello " + e;
|
|
2390
2360
|
return console.log(t), t;
|
|
2391
2361
|
}
|
|
2392
|
-
function
|
|
2362
|
+
function Nt(e, t = void 0, s = void 0) {
|
|
2393
2363
|
return console.log("credentials", e), new Promise((n) => {
|
|
2394
2364
|
if (e.token === "" && b(e), !e.space || e.space === "") {
|
|
2395
|
-
const o =
|
|
2365
|
+
const o = q();
|
|
2396
2366
|
console.log("platformeInfo", o);
|
|
2397
2367
|
}
|
|
2398
|
-
|
|
2368
|
+
A(
|
|
2399
2369
|
e,
|
|
2400
2370
|
"Common space",
|
|
2401
2371
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -2470,94 +2440,94 @@ function It(e, t = void 0, s = void 0) {
|
|
|
2470
2440
|
}
|
|
2471
2441
|
export {
|
|
2472
2442
|
D as UUID,
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2443
|
+
Nt as _3DSearch_usersGroup,
|
|
2444
|
+
De as _3DSpace_Create_Doc,
|
|
2445
|
+
Re as _3DSpace_Update_Doc,
|
|
2446
|
+
Be as _3DSpace_bookmark_addSubsciptions,
|
|
2447
|
+
Ke as _3DSpace_bookmark_newWorkspace,
|
|
2478
2448
|
b as _3DSpace_csrf,
|
|
2479
2449
|
J as _3DSpace_download_doc,
|
|
2480
2450
|
te as _3DSpace_download_multidoc,
|
|
2481
2451
|
M as _3DSpace_file_update,
|
|
2482
2452
|
ee as _3DSpace_file_update_csr,
|
|
2483
2453
|
Pe as _3DSpace_file_url_csr,
|
|
2484
|
-
|
|
2454
|
+
k as _3DSpace_get_csrf,
|
|
2485
2455
|
L as _3DSpace_get_docInfo,
|
|
2486
2456
|
ne as _3DSpace_get_downloadTicket_multidoc,
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2457
|
+
xe as _3DSpace_get_multiDocInfo,
|
|
2458
|
+
A as _3DSpace_get_securityContexts,
|
|
2459
|
+
U as _3DSpace_get_ticket,
|
|
2460
|
+
Ee as _3DSpace_lifecycle_changeRevision,
|
|
2461
|
+
Me as _3DSpace_lifecycle_changeState,
|
|
2462
|
+
Je as _3DSpace_lifecycle_getGraph,
|
|
2463
|
+
Ge as _3DSpace_lifecycle_getNextRevision,
|
|
2464
|
+
Le as _3DSpace_lifecycle_getNextStates,
|
|
2465
|
+
at as _3DSwym_buildDirectMessage,
|
|
2466
|
+
ct as _3DSwym_deleteIdea,
|
|
2467
|
+
pt as _3DSwym_editIdea,
|
|
2498
2468
|
de as _3DSwym_findCommunityToInstantMSG,
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2469
|
+
st as _3DSwym_getAllCommunities,
|
|
2470
|
+
ut as _3DSwym_getAllListIdeas,
|
|
2471
|
+
tt as _3DSwym_getAllNews,
|
|
2472
|
+
nt as _3DSwym_getFamiliarPeople,
|
|
2473
|
+
it as _3DSwym_getIdeaStatusMaturity,
|
|
2504
2474
|
ce as _3DSwym_getMembersCommunity,
|
|
2505
|
-
|
|
2475
|
+
dt as _3DSwym_getOneIdea,
|
|
2506
2476
|
w as _3DSwym_get_Token,
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2477
|
+
lt as _3DSwym_get_currentUser,
|
|
2478
|
+
ft as _3DSwym_get_findUser,
|
|
2479
|
+
rt as _3DSwym_postIdea,
|
|
2480
|
+
ot as _3DSwym_postIdeaTemplate,
|
|
2481
|
+
P as _3DSwym_sendMessageData,
|
|
2482
|
+
ve as _AppMngt_get_info_user,
|
|
2483
|
+
$e as _AppMngt_get_users,
|
|
2484
|
+
Tt as _Iterop_AddOrRemoveRows,
|
|
2485
|
+
gt as _Iterop_Auth_CAS,
|
|
2486
|
+
bt as _Iterop_GetOneDependencyTable,
|
|
2487
|
+
yt as _Iterop_ListUsers,
|
|
2488
|
+
Ot as _Iterop_PatchDependencyTable,
|
|
2489
|
+
$t as _Iterop_PutDependencyTable,
|
|
2490
|
+
St as _Iterop_getAllBusinessTables,
|
|
2491
|
+
_t as _Iterop_getOneBusinessTable,
|
|
2492
|
+
wt as _Iterop_getOneBusinessTableRows,
|
|
2493
|
+
ht as _Iterop_jwtUser,
|
|
2524
2494
|
Ct as _Iterop_runProcess,
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2495
|
+
q as _getPlateformInfos,
|
|
2496
|
+
Te as _getPlatformServices,
|
|
2497
|
+
C as _getServiceUrl,
|
|
2498
|
+
be as _getServiceUrl_3DPassport,
|
|
2499
|
+
mt as _getServiceUrl_Iterop,
|
|
2530
2500
|
m as _httpCallAuthenticated,
|
|
2531
|
-
|
|
2501
|
+
_e as _setDraggable,
|
|
2532
2502
|
Ce as _setDroppable,
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2503
|
+
we as _setupTagger,
|
|
2504
|
+
Qe as addTagToDoc,
|
|
2505
|
+
W as chunkArray,
|
|
2506
|
+
Oe as compass_getListAdditionalApps,
|
|
2537
2507
|
V as couleurs,
|
|
2538
|
-
|
|
2508
|
+
Ne as createUserGroups,
|
|
2539
2509
|
se as dataMixing,
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2510
|
+
Ae as deleteUserGroups,
|
|
2511
|
+
he as findAdresse,
|
|
2512
|
+
Ve as getAllContextSecurity,
|
|
2543
2513
|
H as getCSRFToken,
|
|
2544
|
-
|
|
2545
|
-
|
|
2514
|
+
ge as getCommunes,
|
|
2515
|
+
Ie as getComplementUG,
|
|
2546
2516
|
We as getDataFrom3DSpace,
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2517
|
+
ye as getDataFromGouvFr,
|
|
2518
|
+
He as getDatasByTenant,
|
|
2519
|
+
ze as getDatasFrom3DSpace,
|
|
2520
|
+
Xe as getDownloadDocument,
|
|
2521
|
+
et as getInfoDocTags,
|
|
2552
2522
|
ke as getUserGroupsList,
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2523
|
+
Y as getUsersGroupRules,
|
|
2524
|
+
Ye as get_3DSpace_csrf,
|
|
2525
|
+
Fe as patchUserGroups,
|
|
2556
2526
|
je as patchUserGroupsControl,
|
|
2557
2527
|
qe as pushDataIn3DSpace,
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2528
|
+
Ue as readUserGroupControl,
|
|
2529
|
+
Ze as removeTagToDoc,
|
|
2530
|
+
vt as sayHello,
|
|
2531
|
+
Se as updateEvent
|
|
2562
2532
|
};
|
|
2563
2533
|
//# sourceMappingURL=wb3Api.js.map
|