@beam3_dev/api_module 0.0.264 → 0.0.266
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 +409 -423
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +7 -7
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -34,10 +34,10 @@ const W = {
|
|
|
34
34
|
b3Edit8: "#616161",
|
|
35
35
|
b3Edit9: "#795548"
|
|
36
36
|
};
|
|
37
|
-
async function _e(e, t = void 0,
|
|
38
|
-
const
|
|
37
|
+
async function _e(e, t = void 0, s = void 0) {
|
|
38
|
+
const n = parseInt(e);
|
|
39
39
|
await fetch(
|
|
40
|
-
"https://apicarto.ign.fr/api/codes-postaux/communes/" +
|
|
40
|
+
"https://apicarto.ign.fr/api/codes-postaux/communes/" + n,
|
|
41
41
|
{
|
|
42
42
|
method: "GET",
|
|
43
43
|
headers: {
|
|
@@ -47,10 +47,10 @@ async function _e(e, t = void 0, n = void 0) {
|
|
|
47
47
|
).then((i) => i.json()).then((i) => {
|
|
48
48
|
t && t(i);
|
|
49
49
|
}).catch((i) => {
|
|
50
|
-
|
|
50
|
+
s && s(i), console.error("Erreur : " + i);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
async function Se(e, t = void 0,
|
|
53
|
+
async function Se(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
|
{
|
|
@@ -59,19 +59,19 @@ async function Se(e, t = void 0, n = void 0) {
|
|
|
59
59
|
Accept: "application/json"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
).then((
|
|
63
|
-
t && t(
|
|
64
|
-
}).catch((
|
|
65
|
-
|
|
62
|
+
).then((n) => n.json()).then((n) => {
|
|
63
|
+
t && t(n);
|
|
64
|
+
}).catch((n) => {
|
|
65
|
+
s && s(n), console.error("Erreur : " + n);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
async function we(e, t = W) {
|
|
69
|
-
let
|
|
70
|
-
const
|
|
69
|
+
let s = O.now().year;
|
|
70
|
+
const n = e, i = [], r = (a) => {
|
|
71
71
|
for (let c in a)
|
|
72
72
|
i.push({ date: c, comment: a[c] });
|
|
73
73
|
};
|
|
74
|
-
for (let a =
|
|
74
|
+
for (let a = s; a <= s + 1; a++)
|
|
75
75
|
await fetch(
|
|
76
76
|
"https://calendrier.api.gouv.fr/jours-feries/metropole/" + a + ".json",
|
|
77
77
|
{
|
|
@@ -84,9 +84,9 @@ async function we(e, t = W) {
|
|
|
84
84
|
r(c);
|
|
85
85
|
}).catch((c) => console.error("Erreur : " + c));
|
|
86
86
|
return (() => {
|
|
87
|
-
const a =
|
|
87
|
+
const a = n.length === 0 ? {
|
|
88
88
|
events: []
|
|
89
|
-
} :
|
|
89
|
+
} : n;
|
|
90
90
|
for (let c of i)
|
|
91
91
|
a.events.findIndex(
|
|
92
92
|
(u) => u.start === O.fromISO(c.date).toISODate() && u.name === "Férié : " + c.comment
|
|
@@ -100,26 +100,26 @@ async function we(e, t = W) {
|
|
|
100
100
|
return a;
|
|
101
101
|
})();
|
|
102
102
|
}
|
|
103
|
-
function X(e, t,
|
|
104
|
-
const { credentials:
|
|
103
|
+
function X(e, t, s) {
|
|
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
|
V(
|
|
110
|
-
{ credentials:
|
|
110
|
+
{ credentials: n, chunks: a, initLoop: 0, fn: o },
|
|
111
111
|
(c) => {
|
|
112
112
|
t && t(c);
|
|
113
113
|
},
|
|
114
114
|
(c) => {
|
|
115
|
-
|
|
115
|
+
s && s(c);
|
|
116
116
|
}
|
|
117
117
|
);
|
|
118
118
|
}
|
|
119
|
-
function V(e, t,
|
|
120
|
-
const { credentials:
|
|
119
|
+
function V(e, t, s) {
|
|
120
|
+
const { credentials: n, chunks: i, initLoop: r, fn: o } = e, a = (c) => {
|
|
121
121
|
o(
|
|
122
|
-
|
|
122
|
+
n,
|
|
123
123
|
i[c],
|
|
124
124
|
() => {
|
|
125
125
|
c++, c < i.length && a(c);
|
|
@@ -128,54 +128,54 @@ function V(e, t, n) {
|
|
|
128
128
|
t && t(d);
|
|
129
129
|
},
|
|
130
130
|
(d) => {
|
|
131
|
-
|
|
131
|
+
s && s(d);
|
|
132
132
|
}
|
|
133
133
|
);
|
|
134
134
|
};
|
|
135
135
|
a(r);
|
|
136
136
|
}
|
|
137
|
-
async function Ce(e, t,
|
|
138
|
-
const
|
|
139
|
-
return
|
|
137
|
+
async function Ce(e, t, s = !0) {
|
|
138
|
+
const n = e.events.findIndex((i) => i.uuid === t.uuid);
|
|
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
|
}
|
|
141
141
|
function m(e, t) {
|
|
142
|
-
$(["DS/WAFData/WAFData"], (
|
|
143
|
-
|
|
142
|
+
$(["DS/WAFData/WAFData"], (s) => {
|
|
143
|
+
s.authenticatedRequest(e, t);
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
|
-
function Te(e, t,
|
|
147
|
-
$(["DS/DataDragAndDrop/DataDragAndDrop"], (
|
|
148
|
-
|
|
146
|
+
function Te(e, t, s) {
|
|
147
|
+
$(["DS/DataDragAndDrop/DataDragAndDrop"], (n) => {
|
|
148
|
+
n.draggable(e, {
|
|
149
149
|
data: t,
|
|
150
|
-
start:
|
|
150
|
+
start: s
|
|
151
151
|
});
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
function be(e, t = void 0) {
|
|
155
|
-
$(["DS/TagNavigatorProxy/TagNavigatorProxy"], (
|
|
156
|
-
let
|
|
157
|
-
|
|
155
|
+
$(["DS/TagNavigatorProxy/TagNavigatorProxy"], (s) => {
|
|
156
|
+
let n;
|
|
157
|
+
n === void 0 && (n = s.createProxy({
|
|
158
158
|
widgetId: A.id,
|
|
159
159
|
filteringMode: "WithFilteringServices"
|
|
160
|
-
}), t !== void 0 &&
|
|
160
|
+
}), t !== void 0 && n.addEvent("onFilterSubjectsChange", t)), n.setSubjectsTags(e);
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
function Oe(e, t) {
|
|
164
|
-
$(["DS/DataDragAndDrop/DataDragAndDrop"], (
|
|
165
|
-
|
|
164
|
+
$(["DS/DataDragAndDrop/DataDragAndDrop"], (s) => {
|
|
165
|
+
s.droppable(e, {
|
|
166
166
|
drop: t
|
|
167
167
|
});
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
async function $e(e, t = void 0,
|
|
170
|
+
async function $e(e, t = void 0, s = void 0) {
|
|
171
171
|
await $(
|
|
172
172
|
["DS/i3DXCompassServices/i3DXCompassServices"],
|
|
173
|
-
(
|
|
173
|
+
(n) => {
|
|
174
174
|
(!e || e === "") && (e = A.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), t && t(
|
|
175
|
-
|
|
175
|
+
n.getPlatformServices({
|
|
176
176
|
platformId: e,
|
|
177
177
|
onComplete: t,
|
|
178
|
-
onFailure:
|
|
178
|
+
onFailure: s
|
|
179
179
|
})
|
|
180
180
|
);
|
|
181
181
|
}
|
|
@@ -184,41 +184,41 @@ async function $e(e, t = void 0, n = void 0) {
|
|
|
184
184
|
function Y() {
|
|
185
185
|
let e = {};
|
|
186
186
|
return $(["DS/PlatformAPI/PlatformAPI"], (t) => {
|
|
187
|
-
const
|
|
187
|
+
const s = t.getTenant(), n = t.getUser(), i = t.getAllApplicationConfigurations(), r = t.getApplicationConfiguration(
|
|
188
188
|
"com.3ds.wp.passport.cors"
|
|
189
189
|
);
|
|
190
190
|
e = {
|
|
191
|
-
tenant:
|
|
192
|
-
user:
|
|
191
|
+
tenant: s,
|
|
192
|
+
user: n,
|
|
193
193
|
appsConfiguration: i,
|
|
194
194
|
appConf: r
|
|
195
195
|
};
|
|
196
196
|
}), console.log("%cRETOUR API :", "color:blue", e), e;
|
|
197
197
|
}
|
|
198
|
-
function x(e, t = void 0,
|
|
198
|
+
function x(e, t = void 0, s = void 0) {
|
|
199
199
|
if (e.tenant) {
|
|
200
|
-
const
|
|
201
|
-
m(
|
|
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
|
+
m(n, {
|
|
202
202
|
onComplete(i) {
|
|
203
203
|
const r = typeof i == "string" ? JSON.parse(i) : i;
|
|
204
204
|
if (r && "platforms" in r) {
|
|
205
205
|
const o = r.platforms.find(
|
|
206
206
|
(a) => a.id === e.tenant.toUpperCase()
|
|
207
207
|
);
|
|
208
|
-
t && o ? t(o) :
|
|
208
|
+
t && o ? t(o) : s && s("_getServiceUrl return listServiceUrl = undefined");
|
|
209
209
|
} else
|
|
210
|
-
|
|
210
|
+
s && s("_getServiceUrl return oResponse = undefined");
|
|
211
211
|
},
|
|
212
212
|
onFailure(i) {
|
|
213
|
-
|
|
213
|
+
s && s(i);
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
function Ne(e, t = void 0,
|
|
218
|
+
function Ne(e, t = void 0, s = void 0) {
|
|
219
219
|
if (e.tenant) {
|
|
220
|
-
const
|
|
221
|
-
m(
|
|
220
|
+
const n = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dpassport&platformId=${e.tenant}`;
|
|
221
|
+
m(n, {
|
|
222
222
|
onComplete(i) {
|
|
223
223
|
const r = JSON.parse(i);
|
|
224
224
|
if (console.log("serviceId=3dpassport", r), Array.isArray(r) && r.length > 0) {
|
|
@@ -227,18 +227,18 @@ function Ne(e, t = void 0, n = void 0) {
|
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
onFailure(i) {
|
|
230
|
-
|
|
230
|
+
s && s(i);
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
function Ie(e, t,
|
|
236
|
-
const
|
|
235
|
+
function Ie(e, t, s) {
|
|
236
|
+
const n = {
|
|
237
237
|
base: `${e.space}`,
|
|
238
238
|
uri: "/resources/AppsMngt/api/custom/applications",
|
|
239
239
|
option: `?filter=${e.tenant}`
|
|
240
240
|
// facultatif
|
|
241
|
-
}, i = `${
|
|
241
|
+
}, i = `${n.base}${n.uri}${n.option}`;
|
|
242
242
|
m(i, {
|
|
243
243
|
method: "GET",
|
|
244
244
|
headers: {
|
|
@@ -254,41 +254,41 @@ function Ie(e, t, n) {
|
|
|
254
254
|
},
|
|
255
255
|
onFailure(r, o) {
|
|
256
256
|
const a = r;
|
|
257
|
-
a.msg = o.errormsg, a.errCode = o.errorcode,
|
|
257
|
+
a.msg = o.errormsg, a.errCode = o.errorcode, s && s(a);
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
|
-
function Fe(e, t = void 0,
|
|
262
|
-
let
|
|
263
|
-
m(
|
|
261
|
+
function Fe(e, t = void 0, s = void 0) {
|
|
262
|
+
let n = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
|
|
263
|
+
m(n, {
|
|
264
264
|
onComplete(i, r, o) {
|
|
265
265
|
const a = JSON.parse(i);
|
|
266
266
|
console.log("_AppMngt_get_users => ", a), t && t(a);
|
|
267
267
|
},
|
|
268
268
|
onFailure(i, r) {
|
|
269
269
|
const o = i;
|
|
270
|
-
o.msg = r.errormsg, o.errCode = r.errorcode,
|
|
270
|
+
o.msg = r.errormsg, o.errCode = r.errorcode, s && s(o);
|
|
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) {
|
|
278
278
|
const c = JSON.parse(r);
|
|
279
|
-
|
|
279
|
+
s && s(c);
|
|
280
280
|
},
|
|
281
281
|
onFailure(r, o) {
|
|
282
282
|
const a = r;
|
|
283
|
-
a.msg = o.errormsg, a.errCode = o.errorcode,
|
|
283
|
+
a.msg = o.errormsg, a.errCode = o.errorcode, n && n(a);
|
|
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 je(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,19 +305,19 @@ function Ue(e, t, n = void 0, s = 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));
|
|
312
312
|
},
|
|
313
313
|
onFailure(d, u) {
|
|
314
314
|
console.log(d);
|
|
315
315
|
const p = d;
|
|
316
|
-
p.msg = u.errormsg, p.errCode = u.errorcode, console.log("❌ sendDirectMessage => ", p),
|
|
316
|
+
p.msg = u.errormsg, p.errCode = u.errorcode, console.log("❌ sendDirectMessage => ", p), n && n(p);
|
|
317
317
|
}
|
|
318
318
|
});
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function ke(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: {
|
|
@@ -328,16 +328,16 @@ function je(e, t, n = void 0, s = void 0) {
|
|
|
328
328
|
}
|
|
329
329
|
},
|
|
330
330
|
onComplete(f) {
|
|
331
|
-
|
|
331
|
+
s && s(JSON.parse(f));
|
|
332
332
|
},
|
|
333
333
|
onFailure(f, l) {
|
|
334
334
|
const g = f;
|
|
335
|
-
g.msg = l.errormsg, g.errCode = l.errorcode,
|
|
335
|
+
g.msg = l.errormsg, g.errCode = l.errorcode, n && n(g);
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
|
-
function q(e, t = void 0,
|
|
340
|
-
const { space:
|
|
339
|
+
function q(e, t = void 0, s = void 0) {
|
|
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"
|
|
343
343
|
}, d = `${r}${o}${a}`;
|
|
@@ -348,12 +348,12 @@ function q(e, t = void 0, n = void 0) {
|
|
|
348
348
|
},
|
|
349
349
|
onFailure(u, p) {
|
|
350
350
|
const f = u;
|
|
351
|
-
f.msg = p.errormsg, f.errCode = p.errorcode,
|
|
351
|
+
f.msg = p.errormsg, f.errCode = p.errorcode, s && s(f);
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
354
|
}
|
|
355
|
-
function
|
|
356
|
-
const { space:
|
|
355
|
+
function Re(e, t = void 0, s = void 0) {
|
|
356
|
+
const { space: n, currentUser: i } = e, a = `${n}/3drdfpersist/resources/v1/usersgroup?select=uri,title,description,owner,members,pending_members,creation_date,modification_date,visibility`, d = { method: "GET", headers: {
|
|
357
357
|
"Content-Type": "application/json",
|
|
358
358
|
Accept: "application/json,text/javascript,*/*"
|
|
359
359
|
} };
|
|
@@ -370,13 +370,13 @@ function ke(e, t = void 0, n = void 0) {
|
|
|
370
370
|
f.rules = _, t && t(f);
|
|
371
371
|
},
|
|
372
372
|
(_) => {
|
|
373
|
-
|
|
373
|
+
s && s(_);
|
|
374
374
|
}
|
|
375
375
|
);
|
|
376
376
|
}
|
|
377
377
|
},
|
|
378
378
|
onFailure(u) {
|
|
379
|
-
|
|
379
|
+
s && s(u);
|
|
380
380
|
}
|
|
381
381
|
});
|
|
382
382
|
} catch (u) {
|
|
@@ -384,12 +384,12 @@ function ke(e, t = void 0, n = void 0) {
|
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
function ve(e, t) {
|
|
387
|
-
const { space:
|
|
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 Ae(e, t,
|
|
392
|
+
function Ae(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",
|
|
@@ -398,36 +398,36 @@ function Ae(e, t, n, s = void 0, i = void 0) {
|
|
|
398
398
|
nexURImem: "/members",
|
|
399
399
|
OPTsTI: "?$mask=dsaccess:Mask.GroupUI.Properties",
|
|
400
400
|
OPTsTenant: `tenant=dstenant:${o}`
|
|
401
|
-
}, c =
|
|
401
|
+
}, c = s, d = `${r}${a.URIUGr}/${t}`, u = JSON.stringify(c);
|
|
402
402
|
m(d, {
|
|
403
|
-
headers:
|
|
403
|
+
headers: j,
|
|
404
404
|
method: "PATCH",
|
|
405
405
|
data: u,
|
|
406
406
|
type: "json",
|
|
407
407
|
onComplete(p) {
|
|
408
|
-
|
|
408
|
+
n && n(p);
|
|
409
409
|
},
|
|
410
410
|
onFailure(p) {
|
|
411
411
|
i && i(p);
|
|
412
412
|
}
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
|
-
function xe(e, t,
|
|
415
|
+
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:
|
|
420
|
-
data: JSON.stringify(
|
|
419
|
+
headers: j,
|
|
420
|
+
data: JSON.stringify(s),
|
|
421
421
|
type: "json",
|
|
422
422
|
onComplete(d) {
|
|
423
|
-
|
|
423
|
+
n && n(d);
|
|
424
424
|
},
|
|
425
425
|
onFailure(d) {
|
|
426
426
|
i && i(d);
|
|
427
427
|
}
|
|
428
428
|
});
|
|
429
429
|
}
|
|
430
|
-
function Pe(e, t,
|
|
430
|
+
function Pe(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: {
|
|
@@ -438,22 +438,22 @@ function Pe(e, t, n = void 0, s = void 0) {
|
|
|
438
438
|
}
|
|
439
439
|
},
|
|
440
440
|
onComplete(d) {
|
|
441
|
-
|
|
441
|
+
s && s(JSON.parse(d));
|
|
442
442
|
},
|
|
443
443
|
onFailure(d) {
|
|
444
|
-
|
|
444
|
+
n && n(d);
|
|
445
445
|
}
|
|
446
446
|
});
|
|
447
447
|
}
|
|
448
|
-
async function H(e, t,
|
|
448
|
+
async function H(e, t, s) {
|
|
449
449
|
if (e.space) {
|
|
450
|
-
const
|
|
451
|
-
m(
|
|
450
|
+
const n = `${e.space}/resources/v1/application/CSRF`;
|
|
451
|
+
m(n, {
|
|
452
452
|
onComplete(i) {
|
|
453
453
|
i = JSON.parse(i), t && t(i.csrf);
|
|
454
454
|
},
|
|
455
455
|
onFailure(i, r, o) {
|
|
456
|
-
|
|
456
|
+
s && s({ error: i, headers: r, xhr: o });
|
|
457
457
|
}
|
|
458
458
|
});
|
|
459
459
|
}
|
|
@@ -462,19 +462,19 @@ var I = {};
|
|
|
462
462
|
function z(e, t) {
|
|
463
463
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
464
464
|
}
|
|
465
|
-
var Q = function(e, t,
|
|
466
|
-
t = t || "&",
|
|
465
|
+
var Q = function(e, t, s, n) {
|
|
466
|
+
t = t || "&", s = s || "=";
|
|
467
467
|
var i = {};
|
|
468
468
|
if (typeof e != "string" || e.length === 0)
|
|
469
469
|
return i;
|
|
470
470
|
var r = /\+/g;
|
|
471
471
|
e = e.split(t);
|
|
472
472
|
var o = 1e3;
|
|
473
|
-
|
|
473
|
+
n && typeof n.maxKeys == "number" && (o = n.maxKeys);
|
|
474
474
|
var a = e.length;
|
|
475
475
|
o > 0 && a > o && (a = o);
|
|
476
476
|
for (var c = 0; c < a; ++c) {
|
|
477
|
-
var d = e[c].replace(r, "%20"), u = d.indexOf(
|
|
477
|
+
var d = e[c].replace(r, "%20"), u = d.indexOf(s), p, f, l, g;
|
|
478
478
|
u >= 0 ? (p = d.substr(0, u), f = d.substr(u + 1)) : (p = d, f = ""), l = decodeURIComponent(p), g = decodeURIComponent(f), z(i, l) ? Array.isArray(i[l]) ? i[l].push(g) : i[l] = [i[l], g] : i[l] = g;
|
|
479
479
|
}
|
|
480
480
|
return i;
|
|
@@ -489,17 +489,17 @@ var Q = function(e, t, n, s) {
|
|
|
489
489
|
default:
|
|
490
490
|
return "";
|
|
491
491
|
}
|
|
492
|
-
}, Z = function(e, t,
|
|
493
|
-
return t = t || "&",
|
|
494
|
-
var r = encodeURIComponent(N(i)) +
|
|
492
|
+
}, Z = function(e, t, s, n) {
|
|
493
|
+
return t = t || "&", s = s || "=", e === null && (e = void 0), typeof e == "object" ? Object.keys(e).map(function(i) {
|
|
494
|
+
var r = encodeURIComponent(N(i)) + s;
|
|
495
495
|
return Array.isArray(e[i]) ? e[i].map(function(o) {
|
|
496
496
|
return r + encodeURIComponent(N(o));
|
|
497
497
|
}).join(t) : r + encodeURIComponent(N(e[i]));
|
|
498
|
-
}).filter(Boolean).join(t) :
|
|
498
|
+
}).filter(Boolean).join(t) : n ? encodeURIComponent(N(n)) + s + encodeURIComponent(N(e)) : "";
|
|
499
499
|
};
|
|
500
500
|
I.decode = I.parse = Q;
|
|
501
501
|
I.encode = I.stringify = Z;
|
|
502
|
-
async function P(e, t = void 0,
|
|
502
|
+
async function P(e, t = void 0, s = void 0, n = void 0) {
|
|
503
503
|
const i = e.space;
|
|
504
504
|
if (t === void 0) {
|
|
505
505
|
console.log("Le paramètre docid est obligatoire");
|
|
@@ -509,14 +509,14 @@ async function P(e, t = void 0, n = void 0, s = void 0) {
|
|
|
509
509
|
m(r, {
|
|
510
510
|
onComplete(o, a, c) {
|
|
511
511
|
const d = JSON.parse(o);
|
|
512
|
-
|
|
512
|
+
s && s(d);
|
|
513
513
|
},
|
|
514
514
|
onFailure(o) {
|
|
515
|
-
|
|
515
|
+
n && n(o);
|
|
516
516
|
}
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
async function De(e, t = void 0,
|
|
519
|
+
async function De(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");
|
|
@@ -533,46 +533,46 @@ async function De(e, t = void 0, n = void 0, s = void 0) {
|
|
|
533
533
|
data: o,
|
|
534
534
|
onComplete(a, c, d) {
|
|
535
535
|
const u = JSON.parse(a);
|
|
536
|
-
|
|
536
|
+
s && s(u);
|
|
537
537
|
},
|
|
538
538
|
onFailure(a) {
|
|
539
|
-
|
|
539
|
+
n && n(a);
|
|
540
540
|
}
|
|
541
541
|
});
|
|
542
542
|
}
|
|
543
|
-
function F(e, t = void 0,
|
|
543
|
+
function F(e, t = void 0, s = void 0) {
|
|
544
544
|
if (e.objID && e.objID !== "") {
|
|
545
|
-
let
|
|
546
|
-
m(
|
|
545
|
+
let n = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
|
|
546
|
+
m(n, {
|
|
547
547
|
onComplete(i, r, o) {
|
|
548
548
|
const a = JSON.parse(i);
|
|
549
549
|
e.success = !0, e.token = a?.csrf?.value, e.datas = a?.data[0], t && t(e);
|
|
550
550
|
},
|
|
551
551
|
onFailure(i) {
|
|
552
|
-
|
|
552
|
+
s && s(i);
|
|
553
553
|
}
|
|
554
554
|
});
|
|
555
555
|
} else
|
|
556
556
|
b(
|
|
557
557
|
e,
|
|
558
|
-
(
|
|
559
|
-
console.log("_3DSpace_get_csrf / _3DSpace_csrf",
|
|
558
|
+
(n) => {
|
|
559
|
+
console.log("_3DSpace_get_csrf / _3DSpace_csrf", n), t && t(n);
|
|
560
560
|
},
|
|
561
|
-
(
|
|
562
|
-
|
|
561
|
+
(n) => {
|
|
562
|
+
s && s(n);
|
|
563
563
|
}
|
|
564
564
|
);
|
|
565
565
|
}
|
|
566
|
-
function b(e, t = void 0,
|
|
566
|
+
function b(e, t = void 0, s = void 0) {
|
|
567
567
|
if (e.space) {
|
|
568
|
-
const
|
|
569
|
-
m(
|
|
568
|
+
const n = e.space + "/resources/v1/application/CSRF";
|
|
569
|
+
m(n, {
|
|
570
570
|
onComplete(i, r, o) {
|
|
571
571
|
const a = JSON.parse(i);
|
|
572
572
|
t && t(a.csrf.value);
|
|
573
573
|
},
|
|
574
574
|
onFailure(i, r, o) {
|
|
575
|
-
|
|
575
|
+
s && s({
|
|
576
576
|
response: i,
|
|
577
577
|
headers: r,
|
|
578
578
|
xhr: o
|
|
@@ -580,14 +580,14 @@ function b(e, t = void 0, n = void 0) {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
} else
|
|
583
|
-
|
|
583
|
+
s && s("ERROR : url du 3DSpace non défini.");
|
|
584
584
|
}
|
|
585
|
-
function
|
|
586
|
-
let
|
|
585
|
+
function k(e, t = void 0, s = void 0) {
|
|
586
|
+
let n = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
|
|
587
587
|
F(
|
|
588
588
|
e,
|
|
589
589
|
(i) => {
|
|
590
|
-
m(
|
|
590
|
+
m(n, {
|
|
591
591
|
method: "PUT",
|
|
592
592
|
headers: {
|
|
593
593
|
ENO_CSRF_TOKEN: e.token
|
|
@@ -597,28 +597,28 @@ function j(e, t = void 0, n = void 0) {
|
|
|
597
597
|
t && t(c, o);
|
|
598
598
|
},
|
|
599
599
|
onFailure(r, o) {
|
|
600
|
-
console.warn("☠️ error => ", r, o),
|
|
600
|
+
console.warn("☠️ error => ", r, o), s && s(r, o);
|
|
601
601
|
}
|
|
602
602
|
});
|
|
603
603
|
},
|
|
604
604
|
(i) => {
|
|
605
|
-
console.warn("_3DSpace_get_ticket / error => ", i),
|
|
605
|
+
console.warn("_3DSpace_get_ticket / error => ", i), s && s(i);
|
|
606
606
|
}
|
|
607
607
|
);
|
|
608
608
|
}
|
|
609
|
-
function Le(e, t,
|
|
609
|
+
function Le(e, t, s = void 0, n = void 0, i = void 0) {
|
|
610
610
|
const r = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
|
|
611
|
-
|
|
611
|
+
s || (s = e.token), m(r, {
|
|
612
612
|
method: "PUT",
|
|
613
613
|
headers: {
|
|
614
|
-
ENO_CSRF_TOKEN:
|
|
614
|
+
ENO_CSRF_TOKEN: s
|
|
615
615
|
},
|
|
616
616
|
onComplete(o) {
|
|
617
617
|
let a = JSON.parse(o);
|
|
618
618
|
if (console.log("☠️ info => ", a), a.success === !0)
|
|
619
619
|
try {
|
|
620
620
|
const c = a.data[0].dataelements.ticketURL;
|
|
621
|
-
|
|
621
|
+
n && n(c);
|
|
622
622
|
} catch (c) {
|
|
623
623
|
i && i(c);
|
|
624
624
|
}
|
|
@@ -628,12 +628,12 @@ function Le(e, t, n = void 0, s = void 0, i = void 0) {
|
|
|
628
628
|
}
|
|
629
629
|
});
|
|
630
630
|
}
|
|
631
|
-
function D(e, t,
|
|
631
|
+
function D(e, t, s, n, i, r = void 0, o = void 0) {
|
|
632
632
|
const a = () => ee(
|
|
633
633
|
e,
|
|
634
634
|
t,
|
|
635
|
-
n,
|
|
636
635
|
s,
|
|
636
|
+
n,
|
|
637
637
|
i,
|
|
638
638
|
e.token,
|
|
639
639
|
r,
|
|
@@ -647,7 +647,7 @@ function D(e, t, n, s, i, r = void 0, o = void 0) {
|
|
|
647
647
|
}
|
|
648
648
|
);
|
|
649
649
|
}
|
|
650
|
-
function ee(e, t,
|
|
650
|
+
function ee(e, t, s, n, i, r, o = void 0, a = void 0) {
|
|
651
651
|
const c = e.space + `/resources/v1/modeler/documents/${t}/files/CheckinTicket`;
|
|
652
652
|
m(c, {
|
|
653
653
|
method: "PUT",
|
|
@@ -657,7 +657,7 @@ function ee(e, t, n, s, i, r, o = void 0, a = void 0) {
|
|
|
657
657
|
onComplete(d, u, p) {
|
|
658
658
|
const f = JSON.parse(d).csrf, l = JSON.parse(d).data[0].dataelements, g = new FormData();
|
|
659
659
|
let h;
|
|
660
|
-
|
|
660
|
+
n instanceof Blob ? h = n : h = new Blob([n], {
|
|
661
661
|
type: "text/plain"
|
|
662
662
|
}), g.append("__fcs__jobTicket", l.ticket), g.append("file_0", h, i);
|
|
663
663
|
const y = {};
|
|
@@ -705,7 +705,7 @@ function ee(e, t, n, s, i, r, o = void 0, a = void 0) {
|
|
|
705
705
|
}
|
|
706
706
|
});
|
|
707
707
|
}
|
|
708
|
-
async function Me(e, t,
|
|
708
|
+
async function Me(e, t, s = void 0, n = void 0) {
|
|
709
709
|
e.space, e.token, e.ctx;
|
|
710
710
|
const i = e?.description, r = e?.title;
|
|
711
711
|
let o = `${e.space}/resources/v1/modeler/documents/${t}`;
|
|
@@ -727,14 +727,14 @@ async function Me(e, t, n = void 0, s = void 0) {
|
|
|
727
727
|
data: a,
|
|
728
728
|
type: "json",
|
|
729
729
|
onComplete(c) {
|
|
730
|
-
|
|
730
|
+
s && s(c);
|
|
731
731
|
},
|
|
732
732
|
onFailure(c) {
|
|
733
|
-
|
|
733
|
+
n && n(c);
|
|
734
734
|
}
|
|
735
735
|
});
|
|
736
736
|
}
|
|
737
|
-
async function Je(e, t,
|
|
737
|
+
async function Je(e, t, s, n = void 0, i = void 0) {
|
|
738
738
|
e.space, e.token, e.ctx, P(
|
|
739
739
|
e,
|
|
740
740
|
t,
|
|
@@ -744,10 +744,10 @@ async function Je(e, t, n, s = void 0, i = void 0) {
|
|
|
744
744
|
e,
|
|
745
745
|
t,
|
|
746
746
|
o,
|
|
747
|
-
|
|
747
|
+
s,
|
|
748
748
|
a,
|
|
749
749
|
(c) => {
|
|
750
|
-
|
|
750
|
+
n && n(c);
|
|
751
751
|
},
|
|
752
752
|
(c) => {
|
|
753
753
|
i && i(c);
|
|
@@ -759,7 +759,7 @@ async function Je(e, t, n, s = void 0, i = void 0) {
|
|
|
759
759
|
}
|
|
760
760
|
);
|
|
761
761
|
}
|
|
762
|
-
async function Ge(e, t,
|
|
762
|
+
async function Ge(e, t, s, n, i = void 0, r = void 0) {
|
|
763
763
|
te(
|
|
764
764
|
e,
|
|
765
765
|
(o) => {
|
|
@@ -767,13 +767,13 @@ async function Ge(e, t, n, s, i = void 0, r = void 0) {
|
|
|
767
767
|
ne(
|
|
768
768
|
a,
|
|
769
769
|
t,
|
|
770
|
-
|
|
770
|
+
s,
|
|
771
771
|
(c) => {
|
|
772
772
|
se(
|
|
773
773
|
e,
|
|
774
774
|
c,
|
|
775
|
-
n,
|
|
776
775
|
s,
|
|
776
|
+
n,
|
|
777
777
|
(d) => {
|
|
778
778
|
d?.data.length ? i && i(d) : r && r({
|
|
779
779
|
success: !1,
|
|
@@ -790,10 +790,10 @@ async function Ge(e, t, n, s, i = void 0, r = void 0) {
|
|
|
790
790
|
(o) => console.warn(o)
|
|
791
791
|
);
|
|
792
792
|
}
|
|
793
|
-
function te(e, t = void 0,
|
|
793
|
+
function te(e, t = void 0, s = void 0) {
|
|
794
794
|
if (e?.space && e.token && e.ctx) {
|
|
795
|
-
let
|
|
796
|
-
m(
|
|
795
|
+
let n = `${e.space}/resources/v1/modeler/documents/files/CheckinTicket`;
|
|
796
|
+
m(n, {
|
|
797
797
|
method: "PUT",
|
|
798
798
|
headers: {
|
|
799
799
|
ENO_CSRF_TOKEN: e.token,
|
|
@@ -809,31 +809,31 @@ function te(e, t = void 0, n = void 0) {
|
|
|
809
809
|
t && t(i);
|
|
810
810
|
},
|
|
811
811
|
onFailure(i) {
|
|
812
|
-
|
|
812
|
+
s && s(i);
|
|
813
813
|
}
|
|
814
814
|
});
|
|
815
815
|
} else
|
|
816
816
|
console.log("Error de credentials", e);
|
|
817
817
|
}
|
|
818
|
-
function ne(e, t,
|
|
818
|
+
function ne(e, t, s, n = void 0, i = void 0) {
|
|
819
819
|
let r = new FormData();
|
|
820
820
|
t instanceof Blob || (t = new Blob([t], {
|
|
821
821
|
type: "text/plain"
|
|
822
|
-
})), r.append("__fcs__jobTicket", e.dataelements.ticket), r.append("file_0", t,
|
|
822
|
+
})), r.append("__fcs__jobTicket", e.dataelements.ticket), r.append("file_0", t, s);
|
|
823
823
|
let o = e.dataelements.ticketURL;
|
|
824
824
|
m(o, {
|
|
825
825
|
method: "POST",
|
|
826
826
|
data: r,
|
|
827
827
|
onComplete(a) {
|
|
828
|
-
|
|
828
|
+
n && n(a.replace(/[\n\r]/g, ""));
|
|
829
829
|
},
|
|
830
830
|
onFailure(a) {
|
|
831
831
|
i && i(a);
|
|
832
832
|
}
|
|
833
833
|
});
|
|
834
834
|
}
|
|
835
|
-
function se(e, t,
|
|
836
|
-
console.log("relatedDocAndFile", { credentials: e, receipt: t, filename:
|
|
835
|
+
function se(e, t, s, n = void 0, i = void 0, r = void 0) {
|
|
836
|
+
console.log("relatedDocAndFile", { credentials: e, receipt: t, filename: s });
|
|
837
837
|
const o = (d) => d.indexOf(".") === -1 ? d : d.split(".").slice(0, -1).join(".");
|
|
838
838
|
let a = "temp_" + O.now().ts, c = e.space + "/resources/v1/modeler/documents/?e6w-lang=fr&e6w-timezone=-120&xrequestedwith=xmlhttprequest";
|
|
839
839
|
m(c, {
|
|
@@ -849,14 +849,14 @@ function se(e, t, n, s = void 0, i = void 0, r = void 0) {
|
|
|
849
849
|
{
|
|
850
850
|
type: "Document",
|
|
851
851
|
dataelements: {
|
|
852
|
-
title: o(
|
|
853
|
-
description:
|
|
852
|
+
title: o(s),
|
|
853
|
+
description: n
|
|
854
854
|
},
|
|
855
855
|
relateddata: {
|
|
856
856
|
files: [
|
|
857
857
|
{
|
|
858
858
|
dataelements: {
|
|
859
|
-
title:
|
|
859
|
+
title: s,
|
|
860
860
|
receipt: `${t}
|
|
861
861
|
`
|
|
862
862
|
}
|
|
@@ -879,7 +879,7 @@ function se(e, t, n, s = 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",
|
|
@@ -895,10 +895,10 @@ function R(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1
|
|
|
895
895
|
(y, _, S) => _ === S.findIndex(
|
|
896
896
|
(C) => C.organization.pid === y.organization.pid && C.role.pid === y.role.pid
|
|
897
897
|
)
|
|
898
|
-
),
|
|
898
|
+
), s && (Array.isArray(s) ? s.forEach((y) => {
|
|
899
899
|
l || h.forEach((_) => {
|
|
900
|
-
if (y === _.role.name &&
|
|
901
|
-
l = y, f =
|
|
900
|
+
if (y === _.role.name && n === _.organization.title)
|
|
901
|
+
l = y, f = n;
|
|
902
902
|
else if (y === _.role.name) {
|
|
903
903
|
let S = h.filter(
|
|
904
904
|
(C) => C.role.name === y
|
|
@@ -907,11 +907,11 @@ function R(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1
|
|
|
907
907
|
}
|
|
908
908
|
});
|
|
909
909
|
}) : h.forEach((y) => {
|
|
910
|
-
if (
|
|
911
|
-
l =
|
|
912
|
-
else if (
|
|
910
|
+
if (s === y.role.name && n === y.organization.title)
|
|
911
|
+
l = s, f = n;
|
|
912
|
+
else if (s === y.role.name) {
|
|
913
913
|
let _ = h.filter(
|
|
914
|
-
(S) => S.role.name ===
|
|
914
|
+
(S) => S.role.name === s
|
|
915
915
|
);
|
|
916
916
|
_.length === 1 ? (l = _[0].role.name, f = _[0].organization.title) : r(_);
|
|
917
917
|
}
|
|
@@ -928,29 +928,29 @@ function R(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0, o = !1
|
|
|
928
928
|
}
|
|
929
929
|
});
|
|
930
930
|
}
|
|
931
|
-
async function L(e, t = void 0,
|
|
931
|
+
async function L(e, t = void 0, s = void 0) {
|
|
932
932
|
return (!e.objID || e.objID === "") && (console.warn(
|
|
933
933
|
"_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
|
|
934
|
-
),
|
|
934
|
+
), s && s(
|
|
935
935
|
"_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
|
|
936
936
|
)), (e.space === "" || !e.space) && (console.warn(
|
|
937
937
|
"_3DSpace_download_doc() / Le paramètre space est obligatoire"
|
|
938
|
-
),
|
|
938
|
+
), s && s("_3DSpace_download_doc() / Le paramètre space est obligatoire")), (e.token === "" || !e.token) && H(
|
|
939
939
|
e,
|
|
940
|
-
(
|
|
941
|
-
e.token =
|
|
940
|
+
(n) => {
|
|
941
|
+
e.token = n;
|
|
942
942
|
},
|
|
943
|
-
(
|
|
944
|
-
console.log("☠️ error => ",
|
|
943
|
+
(n) => {
|
|
944
|
+
console.log("☠️ error => ", n);
|
|
945
945
|
}
|
|
946
|
-
), new Promise((
|
|
947
|
-
|
|
946
|
+
), new Promise((n, i) => {
|
|
947
|
+
k(
|
|
948
948
|
e,
|
|
949
949
|
(r) => {
|
|
950
950
|
e?.returnType === "blob" ? (console.log("ticketURL blob", r), fetch(r).then((o) => o.blob()).then((o) => {
|
|
951
951
|
t && t(o);
|
|
952
952
|
}).catch((o) => {
|
|
953
|
-
|
|
953
|
+
s && s(o);
|
|
954
954
|
})) : m(r, {
|
|
955
955
|
onComplete(o) {
|
|
956
956
|
let a;
|
|
@@ -959,10 +959,10 @@ async function L(e, t = void 0, n = void 0) {
|
|
|
959
959
|
} catch {
|
|
960
960
|
a = o;
|
|
961
961
|
}
|
|
962
|
-
t && typeof t == "function" && t(a),
|
|
962
|
+
t && typeof t == "function" && t(a), n(a);
|
|
963
963
|
},
|
|
964
964
|
onFailure(o, a, c) {
|
|
965
|
-
|
|
965
|
+
s && (console.log("error http", o), s({
|
|
966
966
|
msg: JSON.parse(o),
|
|
967
967
|
headers: a,
|
|
968
968
|
xhr: c
|
|
@@ -975,26 +975,26 @@ async function L(e, t = void 0, n = void 0) {
|
|
|
975
975
|
});
|
|
976
976
|
},
|
|
977
977
|
(r) => {
|
|
978
|
-
|
|
978
|
+
s && s(r), console.log("*_3dspace_download_doc / error file URL *", r), i(r);
|
|
979
979
|
}
|
|
980
980
|
);
|
|
981
981
|
});
|
|
982
982
|
}
|
|
983
|
-
async function ie(e, t,
|
|
983
|
+
async function ie(e, t, s = void 0, n = void 0) {
|
|
984
984
|
typeof t < "u" && Array.isArray(t) && t?.length > 0 ? X({
|
|
985
985
|
credentials: e,
|
|
986
986
|
myArray: t,
|
|
987
987
|
chunk: 80,
|
|
988
988
|
fn_to_call: ae
|
|
989
989
|
}, (r) => {
|
|
990
|
-
|
|
990
|
+
s && s(r);
|
|
991
991
|
}) : (console.warn(
|
|
992
992
|
"La liste d'objects dans la fonction _3DSpace_download_multidoc est vide ou non défini."
|
|
993
|
-
),
|
|
993
|
+
), n && n(
|
|
994
994
|
"La liste d'objects dans la fonction _3DSpace_download_multidoc est vide ou non défini."
|
|
995
995
|
));
|
|
996
996
|
}
|
|
997
|
-
function ae(e, t,
|
|
997
|
+
function ae(e, t, s = void 0, n = void 0, i = void 0) {
|
|
998
998
|
const r = [];
|
|
999
999
|
t.forEach((c) => {
|
|
1000
1000
|
r.push({
|
|
@@ -1015,7 +1015,7 @@ function ae(e, t, n = void 0, s = void 0, i = void 0) {
|
|
|
1015
1015
|
type: "json",
|
|
1016
1016
|
onComplete(c) {
|
|
1017
1017
|
const d = c.data;
|
|
1018
|
-
c.success === !0 && (
|
|
1018
|
+
c.success === !0 && (s && s(), d.forEach((u) => {
|
|
1019
1019
|
try {
|
|
1020
1020
|
const p = u.dataelements.fileName, f = u.dataelements.ticketURL;
|
|
1021
1021
|
m(f, {
|
|
@@ -1026,7 +1026,7 @@ function ae(e, t, n = void 0, s = void 0, i = void 0) {
|
|
|
1026
1026
|
} catch {
|
|
1027
1027
|
h = l.blob();
|
|
1028
1028
|
}
|
|
1029
|
-
|
|
1029
|
+
n && n({
|
|
1030
1030
|
objectId: u.id,
|
|
1031
1031
|
headers: g,
|
|
1032
1032
|
fileName: p,
|
|
@@ -1047,7 +1047,7 @@ function ae(e, t, n = void 0, s = void 0, i = void 0) {
|
|
|
1047
1047
|
}
|
|
1048
1048
|
});
|
|
1049
1049
|
}
|
|
1050
|
-
function Ee(e, t,
|
|
1050
|
+
function Ee(e, t, s = void 0, n = void 0) {
|
|
1051
1051
|
return new Promise((i) => {
|
|
1052
1052
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1053
1053
|
const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
|
|
@@ -1068,17 +1068,17 @@ function Ee(e, t, n = void 0, s = void 0) {
|
|
|
1068
1068
|
}),
|
|
1069
1069
|
type: "json",
|
|
1070
1070
|
onComplete(a) {
|
|
1071
|
-
|
|
1071
|
+
s && s(a);
|
|
1072
1072
|
},
|
|
1073
1073
|
onFailure(a) {
|
|
1074
|
-
|
|
1074
|
+
n && n(a);
|
|
1075
1075
|
}
|
|
1076
1076
|
};
|
|
1077
1077
|
m(r, o);
|
|
1078
1078
|
}
|
|
1079
1079
|
});
|
|
1080
1080
|
}
|
|
1081
|
-
function Ke(e, t,
|
|
1081
|
+
function Ke(e, t, s, n = void 0, i = void 0) {
|
|
1082
1082
|
return new Promise((r) => {
|
|
1083
1083
|
if (e.token === "" && b(e), t !== void 0 && t !== "" && t !== null) {
|
|
1084
1084
|
const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
|
|
@@ -1094,13 +1094,13 @@ function Ke(e, t, n, s = void 0, i = void 0) {
|
|
|
1094
1094
|
data: [
|
|
1095
1095
|
{
|
|
1096
1096
|
id: t,
|
|
1097
|
-
nextState:
|
|
1097
|
+
nextState: s
|
|
1098
1098
|
}
|
|
1099
1099
|
]
|
|
1100
1100
|
}),
|
|
1101
1101
|
type: "json",
|
|
1102
1102
|
onComplete(c) {
|
|
1103
|
-
|
|
1103
|
+
n && n(c);
|
|
1104
1104
|
},
|
|
1105
1105
|
onFailure(c) {
|
|
1106
1106
|
i && i(c);
|
|
@@ -1110,11 +1110,11 @@ function Ke(e, t, n, s = void 0, i = void 0) {
|
|
|
1110
1110
|
}
|
|
1111
1111
|
});
|
|
1112
1112
|
}
|
|
1113
|
-
function Be(e, t,
|
|
1113
|
+
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"],
|
|
@@ -1141,21 +1141,21 @@ function Be(e, t, n = void 0, s = void 0) {
|
|
|
1141
1141
|
}),
|
|
1142
1142
|
type: "json",
|
|
1143
1143
|
onComplete(a) {
|
|
1144
|
-
|
|
1144
|
+
s && s(a);
|
|
1145
1145
|
},
|
|
1146
1146
|
onFailure(a) {
|
|
1147
|
-
|
|
1147
|
+
n && n(a);
|
|
1148
1148
|
}
|
|
1149
1149
|
};
|
|
1150
1150
|
m(r, o);
|
|
1151
1151
|
}
|
|
1152
1152
|
});
|
|
1153
1153
|
}
|
|
1154
|
-
function We(e, t,
|
|
1154
|
+
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"],
|
|
@@ -1188,21 +1188,21 @@ function We(e, t, n = void 0, s = void 0) {
|
|
|
1188
1188
|
}),
|
|
1189
1189
|
type: "json",
|
|
1190
1190
|
onComplete(a) {
|
|
1191
|
-
|
|
1191
|
+
s && s(a);
|
|
1192
1192
|
},
|
|
1193
1193
|
onFailure(a) {
|
|
1194
|
-
|
|
1194
|
+
n && n(a);
|
|
1195
1195
|
}
|
|
1196
1196
|
};
|
|
1197
1197
|
m(r, o);
|
|
1198
1198
|
}
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
|
-
function Xe(e, t,
|
|
1201
|
+
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"],
|
|
@@ -1224,9 +1224,9 @@ function Xe(e, t, n, s = void 0, i = void 0) {
|
|
|
1224
1224
|
data: [
|
|
1225
1225
|
{
|
|
1226
1226
|
physicalid: t,
|
|
1227
|
-
proposedRevision:
|
|
1227
|
+
proposedRevision: s,
|
|
1228
1228
|
modifiedAttributes: {
|
|
1229
|
-
revision:
|
|
1229
|
+
revision: s
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
1232
|
],
|
|
@@ -1235,7 +1235,7 @@ function Xe(e, t, n, s = void 0, i = void 0) {
|
|
|
1235
1235
|
}),
|
|
1236
1236
|
type: "json",
|
|
1237
1237
|
onComplete(c) {
|
|
1238
|
-
|
|
1238
|
+
n && n(c);
|
|
1239
1239
|
},
|
|
1240
1240
|
onFailure(c) {
|
|
1241
1241
|
i && i(c);
|
|
@@ -1245,13 +1245,13 @@ function Xe(e, t, n, s = void 0, i = void 0) {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
});
|
|
1247
1247
|
}
|
|
1248
|
-
function Ve(e, t,
|
|
1248
|
+
function Ve(e, t, s, n, i = void 0, r = void 0) {
|
|
1249
1249
|
return new Promise((o) => {
|
|
1250
1250
|
const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
|
|
1251
1251
|
let c = {
|
|
1252
1252
|
attributes: {
|
|
1253
|
-
title:
|
|
1254
|
-
description:
|
|
1253
|
+
title: s,
|
|
1254
|
+
description: n,
|
|
1255
1255
|
inheritedAccess: "no"
|
|
1256
1256
|
}
|
|
1257
1257
|
}, d = {
|
|
@@ -1278,7 +1278,7 @@ function Ve(e, t, n, s, i = void 0, r = void 0) {
|
|
|
1278
1278
|
m(a, u);
|
|
1279
1279
|
});
|
|
1280
1280
|
}
|
|
1281
|
-
function Ye(e, t,
|
|
1281
|
+
function Ye(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: {
|
|
@@ -1292,8 +1292,8 @@ function Ye(e, t, n, s, i = void 0, r = void 0) {
|
|
|
1292
1292
|
relId: t,
|
|
1293
1293
|
id: t,
|
|
1294
1294
|
dataelements: {
|
|
1295
|
-
personList:
|
|
1296
|
-
eventsList:
|
|
1295
|
+
personList: s,
|
|
1296
|
+
eventsList: n
|
|
1297
1297
|
},
|
|
1298
1298
|
tenant: e.tenant
|
|
1299
1299
|
}
|
|
@@ -1302,12 +1302,12 @@ function Ye(e, t, n, s, i = void 0, r = void 0) {
|
|
|
1302
1302
|
});
|
|
1303
1303
|
}
|
|
1304
1304
|
//!SECTION
|
|
1305
|
-
function qe(e, t = void 0,
|
|
1306
|
-
const
|
|
1305
|
+
function qe(e, t = void 0, s = void 0) {
|
|
1306
|
+
const n = {
|
|
1307
1307
|
base: `${e.space}`,
|
|
1308
1308
|
uri: "/resources/bps/cspaces",
|
|
1309
1309
|
optTenant: `tenant=${e.tenant}`
|
|
1310
|
-
}, i = `${
|
|
1310
|
+
}, i = `${n.base}${n.uri}?${n.optTenant}`;
|
|
1311
1311
|
m(i, {
|
|
1312
1312
|
method: "GET",
|
|
1313
1313
|
headers: {
|
|
@@ -1319,54 +1319,54 @@ function qe(e, t = void 0, n = void 0) {
|
|
|
1319
1319
|
t && t(a, o);
|
|
1320
1320
|
},
|
|
1321
1321
|
onFailure(r, o, a) {
|
|
1322
|
-
|
|
1322
|
+
s && s({ response: r, headers: o, xhr: a });
|
|
1323
1323
|
}
|
|
1324
1324
|
});
|
|
1325
1325
|
}
|
|
1326
|
-
function He(e, t,
|
|
1327
|
-
|
|
1326
|
+
function He(e, t, s, n) {
|
|
1327
|
+
k(
|
|
1328
1328
|
e.space,
|
|
1329
1329
|
t,
|
|
1330
1330
|
(i) => {
|
|
1331
1331
|
m(i, {
|
|
1332
1332
|
header: { ENO_CSRF_TOKEN: e.token },
|
|
1333
1333
|
onComplete: (r) => {
|
|
1334
|
-
|
|
1334
|
+
s && s(r);
|
|
1335
1335
|
},
|
|
1336
1336
|
onFailure: (r) => {
|
|
1337
|
-
console.log("error http", r),
|
|
1337
|
+
console.log("error http", r), n && n(r);
|
|
1338
1338
|
}
|
|
1339
1339
|
});
|
|
1340
1340
|
}
|
|
1341
1341
|
);
|
|
1342
1342
|
}
|
|
1343
|
-
async function ze(e, t,
|
|
1343
|
+
async function ze(e, t, s = void 0, n = void 0) {
|
|
1344
1344
|
return new Promise((i) => {
|
|
1345
|
-
|
|
1345
|
+
k(e, t, (r) => {
|
|
1346
1346
|
m(r, {
|
|
1347
|
-
onComplete: (o, a, c) => (i(JSON.parse(o)),
|
|
1347
|
+
onComplete: (o, a, c) => (i(JSON.parse(o)), s && s(JSON.parse(o), a, c), i),
|
|
1348
1348
|
onFailure: (o, a, c) => {
|
|
1349
|
-
|
|
1349
|
+
n && n(o, a, c), console.log(o, a?.errormsg);
|
|
1350
1350
|
}
|
|
1351
1351
|
});
|
|
1352
1352
|
});
|
|
1353
1353
|
});
|
|
1354
1354
|
}
|
|
1355
|
-
function Qe(e, t,
|
|
1355
|
+
function Qe(e, t, s, n = void 0, i = void 0) {
|
|
1356
1356
|
const r = new Blob([JSON.stringify(t)], { type: "text/plain" });
|
|
1357
1357
|
F(
|
|
1358
1358
|
e,
|
|
1359
|
-
|
|
1359
|
+
s,
|
|
1360
1360
|
(o) => {
|
|
1361
1361
|
const a = o.data[0].relateddata.files[0].id, c = o.data[0].dataelements.secondaryTitle !== "" ? o.data[0].dataelements.secondaryTitle : o.data[0].dataelements.title;
|
|
1362
1362
|
D(
|
|
1363
1363
|
e,
|
|
1364
|
-
|
|
1364
|
+
s,
|
|
1365
1365
|
a,
|
|
1366
1366
|
r,
|
|
1367
1367
|
c,
|
|
1368
1368
|
(d) => {
|
|
1369
|
-
|
|
1369
|
+
n && n(d);
|
|
1370
1370
|
},
|
|
1371
1371
|
(d) => {
|
|
1372
1372
|
i && i(d);
|
|
@@ -1376,40 +1376,40 @@ function Qe(e, t, n, s = void 0, i = void 0) {
|
|
|
1376
1376
|
);
|
|
1377
1377
|
}
|
|
1378
1378
|
let M, J;
|
|
1379
|
-
const
|
|
1380
|
-
async function Ze(e, t = void 0,
|
|
1379
|
+
const R = [];
|
|
1380
|
+
async function Ze(e, t = void 0, s = void 0) {
|
|
1381
1381
|
e.objID && e.objID !== "" ? F(
|
|
1382
1382
|
e,
|
|
1383
|
-
(
|
|
1384
|
-
t && t(
|
|
1383
|
+
(n) => {
|
|
1384
|
+
t && t(n);
|
|
1385
1385
|
},
|
|
1386
|
-
(
|
|
1387
|
-
|
|
1386
|
+
(n) => {
|
|
1387
|
+
s && s(n);
|
|
1388
1388
|
}
|
|
1389
1389
|
) : (e.objID === null || e.objID === "") && b(
|
|
1390
1390
|
e,
|
|
1391
|
-
(
|
|
1392
|
-
t && t({ rep:
|
|
1391
|
+
(n) => {
|
|
1392
|
+
t && t({ rep: n, msg: "Pas d'objID, ou invalide" });
|
|
1393
1393
|
},
|
|
1394
|
-
(
|
|
1395
|
-
|
|
1394
|
+
(n) => {
|
|
1395
|
+
s && s({ msg: "Pas d'objID et erreur sur le Space", err: n });
|
|
1396
1396
|
}
|
|
1397
1397
|
);
|
|
1398
1398
|
}
|
|
1399
|
-
async function et(e, t = void 0,
|
|
1399
|
+
async function et(e, t = void 0, s = void 0) {
|
|
1400
1400
|
console.log("getDatasByTenant (getDocuments)", e), await L(
|
|
1401
1401
|
e,
|
|
1402
|
-
(
|
|
1402
|
+
(n) => {
|
|
1403
1403
|
const i = {};
|
|
1404
|
-
i.obj =
|
|
1404
|
+
i.obj = n, console.log("getDatasByTenant (getDocuments) _datas", i), t && t?.(i);
|
|
1405
1405
|
},
|
|
1406
|
-
(
|
|
1407
|
-
|
|
1406
|
+
(n) => {
|
|
1407
|
+
s && s?.(n);
|
|
1408
1408
|
}
|
|
1409
1409
|
);
|
|
1410
1410
|
}
|
|
1411
|
-
function tt(e, t = void 0,
|
|
1412
|
-
const
|
|
1411
|
+
function tt(e, t = void 0, s = void 0) {
|
|
1412
|
+
const n = [];
|
|
1413
1413
|
if (!e.objIds && !Array.isArray(e.objIds) && e.objIds.length === 0) {
|
|
1414
1414
|
console.warn("la liste est vide ou n'est pas un tableau");
|
|
1415
1415
|
return;
|
|
@@ -1419,21 +1419,21 @@ function tt(e, t = void 0, n = void 0) {
|
|
|
1419
1419
|
e,
|
|
1420
1420
|
i.objID,
|
|
1421
1421
|
(o) => {
|
|
1422
|
-
|
|
1422
|
+
n.push({ [i.name]: o }), i.name === "dbProjets" && (M = o.affaires.map((a) => a.objectID), oe(e, J)), r === e.objIds.length - 1 && (t && t(n), delete e.objIds, delete e.datas);
|
|
1423
1423
|
}
|
|
1424
1424
|
);
|
|
1425
1425
|
});
|
|
1426
1426
|
}
|
|
1427
|
-
function oe(e, t,
|
|
1427
|
+
function oe(e, t, s = void 0, n = void 0) {
|
|
1428
1428
|
ie(
|
|
1429
1429
|
e,
|
|
1430
1430
|
M,
|
|
1431
1431
|
(i) => {
|
|
1432
1432
|
const r = [...t];
|
|
1433
|
-
r.find((o) => o.objectID === i.objectId).data = i.data, J = r,
|
|
1433
|
+
r.find((o) => o.objectID === i.objectId).data = i.data, J = r, R.push(i.data), s && s(R);
|
|
1434
1434
|
},
|
|
1435
1435
|
(i) => {
|
|
1436
|
-
|
|
1436
|
+
n && (n(i), console.log(i));
|
|
1437
1437
|
}
|
|
1438
1438
|
);
|
|
1439
1439
|
}
|
|
@@ -1457,7 +1457,7 @@ const re = "FA35FB9B177A280065800EA0000F599C", ce = [
|
|
|
1457
1457
|
order_by: "desc",
|
|
1458
1458
|
tag: "testTag"
|
|
1459
1459
|
};
|
|
1460
|
-
function nt(e, t,
|
|
1460
|
+
function nt(e, t, s = void 0, n = void 0) {
|
|
1461
1461
|
const { space: i, tenant: r } = e, { objId: o, pred: a, tag: c } = t, d = {
|
|
1462
1462
|
uri: "/resources/6w/tags",
|
|
1463
1463
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1497,27 +1497,27 @@ function nt(e, t, n = void 0, s = void 0) {
|
|
|
1497
1497
|
e,
|
|
1498
1498
|
t,
|
|
1499
1499
|
(S) => {
|
|
1500
|
-
|
|
1500
|
+
s && s(S);
|
|
1501
1501
|
},
|
|
1502
1502
|
(S) => {
|
|
1503
|
-
|
|
1503
|
+
n && n(S);
|
|
1504
1504
|
}
|
|
1505
1505
|
);
|
|
1506
1506
|
},
|
|
1507
1507
|
(g, h) => {
|
|
1508
1508
|
const y = g;
|
|
1509
|
-
y.msg = h.errormsg, y.errCode = h.errorcode, console.log("❌ sendDirectMessage => ", y),
|
|
1509
|
+
y.msg = h.errormsg, y.errCode = h.errorcode, console.log("❌ sendDirectMessage => ", y), n && n(y);
|
|
1510
1510
|
}
|
|
1511
1511
|
);
|
|
1512
1512
|
}, 2e3);
|
|
1513
1513
|
},
|
|
1514
1514
|
onFailure(f, l) {
|
|
1515
1515
|
const g = f;
|
|
1516
|
-
g.msg = l.errormsg, g.errCode = l.errorcode, console.log("❌ sendDirectMessage => ", g),
|
|
1516
|
+
g.msg = l.errormsg, g.errCode = l.errorcode, console.log("❌ sendDirectMessage => ", g), n && n(g);
|
|
1517
1517
|
}
|
|
1518
1518
|
});
|
|
1519
1519
|
}
|
|
1520
|
-
function ue(e, t,
|
|
1520
|
+
function ue(e, t, s = void 0, n = void 0) {
|
|
1521
1521
|
console.log("obj ", t);
|
|
1522
1522
|
const i = t.info.name, r = {
|
|
1523
1523
|
baseUrl: `https://${e.tenant.toLowerCase()}-eu1-fedsearch.3dexperience.3ds.com`,
|
|
@@ -1592,15 +1592,15 @@ function ue(e, t, n = void 0, s = void 0) {
|
|
|
1592
1592
|
data: JSON.stringify(d),
|
|
1593
1593
|
onComplete(u) {
|
|
1594
1594
|
const p = JSON.parse(u);
|
|
1595
|
-
|
|
1595
|
+
s(p);
|
|
1596
1596
|
},
|
|
1597
1597
|
onFailure(u, p) {
|
|
1598
1598
|
const f = u;
|
|
1599
|
-
f.msg = p.errormsg, f.errCode = p.errorcode, console.log("❌ sendDirectMessage => ", f),
|
|
1599
|
+
f.msg = p.errormsg, f.errCode = p.errorcode, console.log("❌ sendDirectMessage => ", f), n && n(f), console.log("Erreur de recuperation d'id du doc et des tags", u);
|
|
1600
1600
|
}
|
|
1601
1601
|
});
|
|
1602
1602
|
}
|
|
1603
|
-
function st(e, t,
|
|
1603
|
+
function st(e, t, s = void 0, n = void 0) {
|
|
1604
1604
|
const { objId: i, pred: r, tag: o } = t, a = {
|
|
1605
1605
|
uri: "/resources/6w/tags",
|
|
1606
1606
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1628,15 +1628,15 @@ function st(e, t, n = void 0, s = void 0) {
|
|
|
1628
1628
|
Accept: "application/json,text/javascript,*/*"
|
|
1629
1629
|
},
|
|
1630
1630
|
onComplete(u) {
|
|
1631
|
-
|
|
1631
|
+
s && s(u);
|
|
1632
1632
|
},
|
|
1633
1633
|
onFailure(u, p) {
|
|
1634
1634
|
const f = u;
|
|
1635
|
-
f.msg = p.errormsg, f.errCode = p.errorcode, console.log("❌ sendDirectMessage => ", f),
|
|
1635
|
+
f.msg = p.errormsg, f.errCode = p.errorcode, console.log("❌ sendDirectMessage => ", f), n && n(f);
|
|
1636
1636
|
}
|
|
1637
1637
|
});
|
|
1638
1638
|
}
|
|
1639
|
-
function it(e, t = "",
|
|
1639
|
+
function it(e, t = "", s = void 0, n = void 0) {
|
|
1640
1640
|
const { space: i } = e;
|
|
1641
1641
|
if (t === "")
|
|
1642
1642
|
return;
|
|
@@ -1651,29 +1651,29 @@ function it(e, t = "", n = void 0, s = void 0) {
|
|
|
1651
1651
|
headers: o,
|
|
1652
1652
|
data: c,
|
|
1653
1653
|
onComplete(d) {
|
|
1654
|
-
|
|
1654
|
+
s && s(JSON.parse(d));
|
|
1655
1655
|
},
|
|
1656
1656
|
onFailure(d, u) {
|
|
1657
1657
|
const p = d;
|
|
1658
|
-
p.msg = u.error,
|
|
1658
|
+
p.msg = u.error, n && n(p);
|
|
1659
1659
|
}
|
|
1660
1660
|
});
|
|
1661
1661
|
}
|
|
1662
|
-
async function w(e, t = void 0,
|
|
1663
|
-
const
|
|
1664
|
-
return m(
|
|
1662
|
+
async function w(e, t = void 0, s = void 0) {
|
|
1663
|
+
const n = e._3DSwym + "/api/index/tk";
|
|
1664
|
+
return m(n, {
|
|
1665
1665
|
onComplete(i, r, o) {
|
|
1666
1666
|
const a = JSON.parse(i);
|
|
1667
1667
|
if (t)
|
|
1668
1668
|
return t(a), e.token = a?.result?.ServerToken;
|
|
1669
1669
|
},
|
|
1670
1670
|
onFailure(i) {
|
|
1671
|
-
|
|
1671
|
+
s && s(i);
|
|
1672
1672
|
}
|
|
1673
1673
|
});
|
|
1674
1674
|
}
|
|
1675
|
-
function at(e, t = void 0,
|
|
1676
|
-
const
|
|
1675
|
+
function at(e, t = void 0, s = void 0) {
|
|
1676
|
+
const n = `${e._3DSwym}/api/exalead/whatsnew`, i = {
|
|
1677
1677
|
params: {
|
|
1678
1678
|
community_id: null,
|
|
1679
1679
|
hash_key: null,
|
|
@@ -1684,7 +1684,7 @@ function at(e, t = void 0, n = void 0) {
|
|
|
1684
1684
|
}
|
|
1685
1685
|
};
|
|
1686
1686
|
w(e, (r) => {
|
|
1687
|
-
m(
|
|
1687
|
+
m(n, {
|
|
1688
1688
|
method: "POST",
|
|
1689
1689
|
headers: {
|
|
1690
1690
|
"X-DS-SWYM-CSRFTOKEN": r.result.ServerToken,
|
|
@@ -1697,13 +1697,13 @@ function at(e, t = void 0, n = void 0) {
|
|
|
1697
1697
|
t && t(o, a);
|
|
1698
1698
|
},
|
|
1699
1699
|
onFailure(o, a) {
|
|
1700
|
-
|
|
1700
|
+
s && s(o, a);
|
|
1701
1701
|
}
|
|
1702
1702
|
});
|
|
1703
1703
|
});
|
|
1704
1704
|
}
|
|
1705
|
-
function ot(e, t = void 0,
|
|
1706
|
-
const
|
|
1705
|
+
function ot(e, t = void 0, s = void 0) {
|
|
1706
|
+
const n = `${e._3DSwym}/api/Recommendation/getpeoplefamiliartocurrentuser`, i = {
|
|
1707
1707
|
params: {
|
|
1708
1708
|
idsToFilterArr: [],
|
|
1709
1709
|
mode: "offline",
|
|
@@ -1713,7 +1713,7 @@ function ot(e, t = void 0, n = void 0) {
|
|
|
1713
1713
|
}
|
|
1714
1714
|
};
|
|
1715
1715
|
w(e, (r) => {
|
|
1716
|
-
m(
|
|
1716
|
+
m(n, {
|
|
1717
1717
|
method: "POST",
|
|
1718
1718
|
headers: {
|
|
1719
1719
|
"X-DS-SWYM-CSRFTOKEN": r.result.ServerToken,
|
|
@@ -1727,18 +1727,18 @@ function ot(e, t = void 0, n = void 0) {
|
|
|
1727
1727
|
t && t(c, o);
|
|
1728
1728
|
},
|
|
1729
1729
|
onFailure(o, a) {
|
|
1730
|
-
|
|
1730
|
+
s && s(o, a);
|
|
1731
1731
|
}
|
|
1732
1732
|
});
|
|
1733
1733
|
});
|
|
1734
1734
|
}
|
|
1735
|
-
function rt(e, t = void 0,
|
|
1736
|
-
const
|
|
1735
|
+
function rt(e, t = void 0, s = void 0) {
|
|
1736
|
+
const n = {
|
|
1737
1737
|
base: e._3DSwym,
|
|
1738
1738
|
uri: "/api/community/listmycommunities",
|
|
1739
1739
|
limit: `/limit/${e.limit ? e.limit : 500}`,
|
|
1740
1740
|
page: `/page/${e.page ? e.page : "1"}`
|
|
1741
|
-
}, i = `${
|
|
1741
|
+
}, i = `${n.base}${n.uri}${n.limit}${n.page}`, r = [];
|
|
1742
1742
|
w(e, (o) => {
|
|
1743
1743
|
m(i, {
|
|
1744
1744
|
method: "GET",
|
|
@@ -1763,18 +1763,18 @@ function rt(e, t = void 0, n = void 0) {
|
|
|
1763
1763
|
(h) => {
|
|
1764
1764
|
f++, g.members = h, r.push(g), f === p.length && t && t(r);
|
|
1765
1765
|
},
|
|
1766
|
-
(h) =>
|
|
1766
|
+
(h) => s(h)
|
|
1767
1767
|
);
|
|
1768
1768
|
});
|
|
1769
1769
|
},
|
|
1770
1770
|
onFailure(a, c) {
|
|
1771
1771
|
const d = a;
|
|
1772
|
-
d.status = c.status, d.response = c.errormsg,
|
|
1772
|
+
d.status = c.status, d.response = c.errormsg, s && s(d);
|
|
1773
1773
|
}
|
|
1774
1774
|
});
|
|
1775
1775
|
});
|
|
1776
1776
|
}
|
|
1777
|
-
function pe(e, t,
|
|
1777
|
+
function pe(e, t, s, n) {
|
|
1778
1778
|
const i = `${e._3DSwym}/api/community/listmembers`, r = {
|
|
1779
1779
|
params: {
|
|
1780
1780
|
page: e.page ? e.page : 1,
|
|
@@ -1793,18 +1793,18 @@ function pe(e, t, n, s) {
|
|
|
1793
1793
|
data: JSON.stringify(r),
|
|
1794
1794
|
type: "json",
|
|
1795
1795
|
onComplete(a, c, d) {
|
|
1796
|
-
|
|
1796
|
+
s && s(a);
|
|
1797
1797
|
},
|
|
1798
1798
|
onFailure(a, c) {
|
|
1799
1799
|
const d = a;
|
|
1800
|
-
d.status = c.status, d.response = c.errormsg,
|
|
1800
|
+
d.status = c.status, d.response = c.errormsg, n && n(d);
|
|
1801
1801
|
}
|
|
1802
1802
|
});
|
|
1803
1803
|
});
|
|
1804
1804
|
}
|
|
1805
|
-
function ct(e, t = void 0,
|
|
1806
|
-
const
|
|
1807
|
-
e.commu_id || (e.commu_id =
|
|
1805
|
+
function ct(e, t = void 0, s = void 0) {
|
|
1806
|
+
const n = "YXdA5x4DSUKtlAi2wmnyTA";
|
|
1807
|
+
e.commu_id || (e.commu_id = n);
|
|
1808
1808
|
const i = `${e._3DSwym}/api/v2/communities/${e.commu_id}/ideas/statuses`;
|
|
1809
1809
|
w(e, (r) => {
|
|
1810
1810
|
m(i, {
|
|
@@ -1820,12 +1820,12 @@ function ct(e, t = void 0, n = void 0) {
|
|
|
1820
1820
|
},
|
|
1821
1821
|
onFailure(o, a) {
|
|
1822
1822
|
const c = o;
|
|
1823
|
-
c.status = a.status, c.response = a.errormsg,
|
|
1823
|
+
c.status = a.status, c.response = a.errormsg, s && s(c);
|
|
1824
1824
|
}
|
|
1825
1825
|
});
|
|
1826
1826
|
});
|
|
1827
1827
|
}
|
|
1828
|
-
function dt(e, t,
|
|
1828
|
+
function dt(e, t, s = void 0, n = void 0) {
|
|
1829
1829
|
const { listAllContacts: i, currentUser: r, _3DSwym: o } = e;
|
|
1830
1830
|
console.log("__listAllContacts", i.hits);
|
|
1831
1831
|
const a = `${o}/api/directmessages`, c = {
|
|
@@ -1843,7 +1843,7 @@ function dt(e, t, n = void 0, s = void 0) {
|
|
|
1843
1843
|
p !== void 0 && (d.id_msg = p.id, u = !0, v(e, d));
|
|
1844
1844
|
},
|
|
1845
1845
|
(p) => {
|
|
1846
|
-
u = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", p),
|
|
1846
|
+
u = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", p), n && n(p), d.id_msg = "";
|
|
1847
1847
|
}
|
|
1848
1848
|
), u === !1 && setTimeout(() => {
|
|
1849
1849
|
u === !1 && w(e, (p) => {
|
|
@@ -1858,17 +1858,17 @@ function dt(e, t, n = void 0, s = 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,
|
|
1861
|
+
h.reponse = JSON.parse(g.response), h.status = g.status, s && s(h), d.id_msg = h.result.id, v(e, d);
|
|
1862
1862
|
},
|
|
1863
1863
|
onFailure(f, l, g) {
|
|
1864
1864
|
const h = f;
|
|
1865
|
-
h.msg = l.errormsg, h.status = l.status,
|
|
1865
|
+
h.msg = l.errormsg, h.status = l.status, n && n(h);
|
|
1866
1866
|
}
|
|
1867
1867
|
});
|
|
1868
1868
|
});
|
|
1869
1869
|
}, 500);
|
|
1870
1870
|
}
|
|
1871
|
-
function le(e, t,
|
|
1871
|
+
function le(e, t, s, n) {
|
|
1872
1872
|
const i = `${e._3DSwym}/api/directmessages/lite?with_favorites=false`;
|
|
1873
1873
|
w(e, (r) => {
|
|
1874
1874
|
m(i, {
|
|
@@ -1888,16 +1888,16 @@ function le(e, t, n, s) {
|
|
|
1888
1888
|
f.push(l.login);
|
|
1889
1889
|
}), JSON.stringify(f) === JSON.stringify(d);
|
|
1890
1890
|
});
|
|
1891
|
-
|
|
1891
|
+
s && u !== void 0 ? s(u) : (n || u === void 0) && n(u);
|
|
1892
1892
|
},
|
|
1893
1893
|
onFailure(o) {
|
|
1894
1894
|
const a = o;
|
|
1895
|
-
a.msg = headers.errormsg, a.errCode = headers.errorcode, console.log("❌ sendDirectMessageLite => ", a),
|
|
1895
|
+
a.msg = headers.errormsg, a.errCode = headers.errorcode, console.log("❌ sendDirectMessageLite => ", a), n && n(a);
|
|
1896
1896
|
}
|
|
1897
1897
|
});
|
|
1898
1898
|
});
|
|
1899
1899
|
}
|
|
1900
|
-
function v(e, t,
|
|
1900
|
+
function v(e, t, s = void 0, n = void 0) {
|
|
1901
1901
|
const i = {
|
|
1902
1902
|
base: e._3DSwym,
|
|
1903
1903
|
uri: "/api/community",
|
|
@@ -1925,23 +1925,23 @@ function v(e, t, n = void 0, s = void 0) {
|
|
|
1925
1925
|
type: "json",
|
|
1926
1926
|
onComplete(c, d, u) {
|
|
1927
1927
|
const p = c;
|
|
1928
|
-
p.status = u.status, p.response = JSON.parse(u.response), console.log("✅ _3dSwym_sendDirectMessageData => ", p),
|
|
1928
|
+
p.status = u.status, p.response = JSON.parse(u.response), console.log("✅ _3dSwym_sendDirectMessageData => ", p), s && s(p);
|
|
1929
1929
|
},
|
|
1930
1930
|
onFailure(c, d) {
|
|
1931
1931
|
const u = c;
|
|
1932
|
-
u.msg = d.errormsg, u.errCode = d.errorcode, console.log("❌ sendDirectMessage => ", u),
|
|
1932
|
+
u.msg = d.errormsg, u.errCode = d.errorcode, console.log("❌ sendDirectMessage => ", u), n && n(u);
|
|
1933
1933
|
}
|
|
1934
1934
|
});
|
|
1935
1935
|
});
|
|
1936
1936
|
}
|
|
1937
1937
|
function fe(e) {
|
|
1938
|
-
const t = (/* @__PURE__ */ new Date()).toLocaleDateString(),
|
|
1938
|
+
const t = (/* @__PURE__ */ new Date()).toLocaleDateString(), s = (/* @__PURE__ */ new Date()).toLocaleTimeString();
|
|
1939
1939
|
return `<p>${e} </p>
|
|
1940
1940
|
<br/>
|
|
1941
1941
|
<hr/>
|
|
1942
|
-
<p><u>envoyer :</u>Le <b>${t} à ${
|
|
1942
|
+
<p><u>envoyer :</u>Le <b>${t} à ${s}</b></p>`;
|
|
1943
1943
|
}
|
|
1944
|
-
function ut(e, t,
|
|
1944
|
+
function ut(e, t, s = void 0, n = void 0) {
|
|
1945
1945
|
const i = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
|
|
1946
1946
|
(c) => c.id === t.community_id
|
|
1947
1947
|
), o = e.swymCommunities.find(
|
|
@@ -1971,20 +1971,20 @@ function ut(e, t, n = void 0, s = void 0) {
|
|
|
1971
1971
|
type: "json",
|
|
1972
1972
|
onComplete(u, p, f) {
|
|
1973
1973
|
const l = JSON.parse(u);
|
|
1974
|
-
l.status = f.status, l.response = f.response,
|
|
1974
|
+
l.status = f.status, l.response = f.response, s && s(l);
|
|
1975
1975
|
},
|
|
1976
1976
|
onFailure(u, p, f) {
|
|
1977
1977
|
const l = u;
|
|
1978
|
-
l.status = p.status, l.response = p.errormsg,
|
|
1978
|
+
l.status = p.status, l.response = p.errormsg, n && n(l);
|
|
1979
1979
|
}
|
|
1980
1980
|
});
|
|
1981
1981
|
});
|
|
1982
1982
|
}
|
|
1983
|
-
function pt(e, t = void 0,
|
|
1984
|
-
const
|
|
1983
|
+
function pt(e, t = void 0, s = void 0) {
|
|
1984
|
+
const n = { base: e.space, uri: "/api/idea/add" };
|
|
1985
1985
|
if (!Array.isArray(e.swymCommunities)) {
|
|
1986
1986
|
const o = "☠️ swymCommunities doit être un tableau d'objets de communautés";
|
|
1987
|
-
throw new Error(`Erreur sur cette requête : ${
|
|
1987
|
+
throw new Error(`Erreur sur cette requête : ${n.base + n.uri}`, {
|
|
1988
1988
|
cause: o
|
|
1989
1989
|
});
|
|
1990
1990
|
}
|
|
@@ -1992,19 +1992,19 @@ function pt(e, t = void 0, n = void 0) {
|
|
|
1992
1992
|
(o) => o.id === e.community_id
|
|
1993
1993
|
) === -1) {
|
|
1994
1994
|
const o = "la communauté n'existe pas dans la liste des communautés du Swym";
|
|
1995
|
-
throw new Error(`Erreur sur cette requête : ${
|
|
1995
|
+
throw new Error(`Erreur sur cette requête : ${n.base + n.uri}`, {
|
|
1996
1996
|
cause: o
|
|
1997
1997
|
});
|
|
1998
1998
|
}
|
|
1999
1999
|
if (e.community_id && e.community_id === "") {
|
|
2000
2000
|
const o = "☠️ community_id doit être un String qui contient l'id de la communauté dans laquelle on souhaite publier l'idée.";
|
|
2001
|
-
throw new Error(`Erreur sur cette requête : ${
|
|
2001
|
+
throw new Error(`Erreur sur cette requête : ${n.base + n.uri}`, {
|
|
2002
2002
|
cause: o
|
|
2003
2003
|
});
|
|
2004
2004
|
}
|
|
2005
2005
|
if (e.title && e.title === "") {
|
|
2006
2006
|
const o = "☠️ title doit être un String.";
|
|
2007
|
-
throw new Error(`Erreur sur cette requête : ${
|
|
2007
|
+
throw new Error(`Erreur sur cette requête : ${n.base + n.uri}`, {
|
|
2008
2008
|
cause: o
|
|
2009
2009
|
});
|
|
2010
2010
|
}
|
|
@@ -2023,7 +2023,7 @@ function pt(e, t = void 0, n = void 0) {
|
|
|
2023
2023
|
w(e, (o) => {
|
|
2024
2024
|
if (!o)
|
|
2025
2025
|
throw new Error(
|
|
2026
|
-
`☠️ token n'est pas disponible pour cette requête : ${
|
|
2026
|
+
`☠️ token n'est pas disponible pour cette requête : ${n.base + n.uri}`,
|
|
2027
2027
|
{
|
|
2028
2028
|
cause: o
|
|
2029
2029
|
}
|
|
@@ -2042,18 +2042,18 @@ function pt(e, t = void 0, n = void 0) {
|
|
|
2042
2042
|
},
|
|
2043
2043
|
onFailure(c, d, u) {
|
|
2044
2044
|
const p = JSON.parse(d), f = JSON.parse(c), l = new Error(
|
|
2045
|
-
`Erreur sur cette requête : ${
|
|
2045
|
+
`Erreur sur cette requête : ${n.base + n.uri}`,
|
|
2046
2046
|
{
|
|
2047
2047
|
cause: { head: p, rep: f }
|
|
2048
2048
|
}
|
|
2049
2049
|
);
|
|
2050
|
-
|
|
2050
|
+
s && s(l);
|
|
2051
2051
|
}
|
|
2052
2052
|
};
|
|
2053
|
-
m(
|
|
2053
|
+
m(n.base + n.uri, a);
|
|
2054
2054
|
});
|
|
2055
2055
|
}
|
|
2056
|
-
function lt(e, t,
|
|
2056
|
+
function lt(e, t, s = void 0, n = void 0) {
|
|
2057
2057
|
const i = `${e.space}/api/idea/delete`, r = {
|
|
2058
2058
|
params: {
|
|
2059
2059
|
community_id: t.community_id,
|
|
@@ -2071,17 +2071,17 @@ function lt(e, t, n = void 0, s = void 0) {
|
|
|
2071
2071
|
data: JSON.stringify(r),
|
|
2072
2072
|
type: "json",
|
|
2073
2073
|
onComplete(a, c, d) {
|
|
2074
|
-
|
|
2074
|
+
s && s(a);
|
|
2075
2075
|
},
|
|
2076
2076
|
onFailure(a, c, d) {
|
|
2077
2077
|
const u = a;
|
|
2078
|
-
u.status = c.status, u.response = c.errormsg,
|
|
2078
|
+
u.status = c.status, u.response = c.errormsg, n && n(u);
|
|
2079
2079
|
}
|
|
2080
2080
|
});
|
|
2081
2081
|
});
|
|
2082
2082
|
}
|
|
2083
|
-
function ft(e, t = void 0,
|
|
2084
|
-
const { _3DSwym:
|
|
2083
|
+
function ft(e, t = void 0, s = void 0) {
|
|
2084
|
+
const { _3DSwym: n, _3DSwym_token: i } = e, r = `${n}/api/idea/get`;
|
|
2085
2085
|
if (e.idPost === "") {
|
|
2086
2086
|
const a = "☠️ idPost est vide, vous devez renseigner un identifiant de post";
|
|
2087
2087
|
throw new Error(`Erreur sur cette requête : ${r}`, { cause: a });
|
|
@@ -2104,13 +2104,13 @@ function ft(e, t = void 0, n = void 0) {
|
|
|
2104
2104
|
},
|
|
2105
2105
|
onFailure(a) {
|
|
2106
2106
|
const c = a;
|
|
2107
|
-
c.status = headers.status, c.response = headers.errormsg,
|
|
2107
|
+
c.status = headers.status, c.response = headers.errormsg, s && s(c);
|
|
2108
2108
|
}
|
|
2109
2109
|
});
|
|
2110
2110
|
}
|
|
2111
|
-
function mt(e, t,
|
|
2111
|
+
function mt(e, t, s) {
|
|
2112
2112
|
const {
|
|
2113
|
-
_3DSwym:
|
|
2113
|
+
_3DSwym: n,
|
|
2114
2114
|
_3DSwym_token: i,
|
|
2115
2115
|
idPost: r,
|
|
2116
2116
|
title: o,
|
|
@@ -2119,7 +2119,7 @@ function mt(e, t, n) {
|
|
|
2119
2119
|
status_id: d,
|
|
2120
2120
|
message: u
|
|
2121
2121
|
} = e, p = {
|
|
2122
|
-
base: `${
|
|
2122
|
+
base: `${n}`,
|
|
2123
2123
|
uri: "/api/idea/edit"
|
|
2124
2124
|
}, l = {
|
|
2125
2125
|
method: "POST",
|
|
@@ -2148,12 +2148,12 @@ function mt(e, t, n) {
|
|
|
2148
2148
|
_.status = y.status, t && t(_);
|
|
2149
2149
|
},
|
|
2150
2150
|
onFailure(g) {
|
|
2151
|
-
|
|
2151
|
+
s && s(g);
|
|
2152
2152
|
}
|
|
2153
2153
|
};
|
|
2154
2154
|
m(p.base + p.uri, l);
|
|
2155
2155
|
}
|
|
2156
|
-
function gt(e, t,
|
|
2156
|
+
function gt(e, t, s = void 0, n = void 0) {
|
|
2157
2157
|
const { _3DSwym: i } = e;
|
|
2158
2158
|
let { community_id: r, limit: o, page: a, search: c } = t;
|
|
2159
2159
|
const d = [], u = 1;
|
|
@@ -2183,12 +2183,12 @@ function gt(e, t, n = void 0, s = void 0) {
|
|
|
2183
2183
|
(E) => E.title.includes(c)
|
|
2184
2184
|
);
|
|
2185
2185
|
if (T) {
|
|
2186
|
-
|
|
2186
|
+
s(T);
|
|
2187
2187
|
return;
|
|
2188
2188
|
}
|
|
2189
2189
|
}
|
|
2190
|
-
if (
|
|
2191
|
-
p = !0,
|
|
2190
|
+
if (s && f < a && !c) {
|
|
2191
|
+
p = !0, s(d);
|
|
2192
2192
|
return;
|
|
2193
2193
|
}
|
|
2194
2194
|
y(_);
|
|
@@ -2196,7 +2196,7 @@ function gt(e, t, n = void 0, s = void 0) {
|
|
|
2196
2196
|
},
|
|
2197
2197
|
onFailure(S, C) {
|
|
2198
2198
|
const T = S;
|
|
2199
|
-
T.status = C.status, T.response = C.errormsg,
|
|
2199
|
+
T.status = C.status, T.response = C.errormsg, n && n(T);
|
|
2200
2200
|
}
|
|
2201
2201
|
});
|
|
2202
2202
|
};
|
|
@@ -2278,9 +2278,9 @@ function me(e) {
|
|
|
2278
2278
|
<p>
|
|
2279
2279
|
</p>` : e;
|
|
2280
2280
|
}
|
|
2281
|
-
function ht(e, t = void 0,
|
|
2282
|
-
const { tenant:
|
|
2283
|
-
if (
|
|
2281
|
+
function ht(e, t = void 0, s = void 0) {
|
|
2282
|
+
const { tenant: n, _3DSwym: i, _3DSwym_token: r, community_id: o, idea_id: a } = e;
|
|
2283
|
+
if (n && i && r && o && a) {
|
|
2284
2284
|
const c = `${i}/api/idea/forward`;
|
|
2285
2285
|
m(c, {
|
|
2286
2286
|
method: "POST",
|
|
@@ -2290,8 +2290,8 @@ function ht(e, t = void 0, n = void 0) {
|
|
|
2290
2290
|
"X-DS-SWYM-CSRFTOKEN": r
|
|
2291
2291
|
},
|
|
2292
2292
|
data: JSON.stringify({
|
|
2293
|
-
community_uri: `swym:prd:${
|
|
2294
|
-
content_uri: `swym:prd:${
|
|
2293
|
+
community_uri: `swym:prd:${n.toUpperCase()}:community:${o}`,
|
|
2294
|
+
content_uri: `swym:prd:${n.toUpperCase()}:idea:${a}`,
|
|
2295
2295
|
timeout: 3e4
|
|
2296
2296
|
}),
|
|
2297
2297
|
type: "json",
|
|
@@ -2300,19 +2300,19 @@ function ht(e, t = void 0, n = void 0) {
|
|
|
2300
2300
|
},
|
|
2301
2301
|
onFailure(d, u) {
|
|
2302
2302
|
const p = d;
|
|
2303
|
-
p.status = u.status, p.response = u.errormsg,
|
|
2303
|
+
p.status = u.status, p.response = u.errormsg, s && s(p);
|
|
2304
2304
|
}
|
|
2305
2305
|
});
|
|
2306
2306
|
} else
|
|
2307
|
-
|
|
2307
|
+
s && s({
|
|
2308
2308
|
status: "error",
|
|
2309
2309
|
msg: "Credentials incomplet !",
|
|
2310
2310
|
attend: "tenant, _3DSwym , _3DSwym_token, community_id, idea_id",
|
|
2311
2311
|
credentials: e
|
|
2312
2312
|
});
|
|
2313
2313
|
}
|
|
2314
|
-
function yt(e, t = void 0,
|
|
2315
|
-
return new Promise((
|
|
2314
|
+
function yt(e, t = void 0, s = void 0) {
|
|
2315
|
+
return new Promise((n, i) => {
|
|
2316
2316
|
try {
|
|
2317
2317
|
const { _3DDashboard: r, _3DSwym: o } = e;
|
|
2318
2318
|
let a = null;
|
|
@@ -2325,41 +2325,27 @@ function yt(e, t = void 0, n = void 0) {
|
|
|
2325
2325
|
"X-DS-SWYM-CSRFTOKEN": d.result.ServerToken
|
|
2326
2326
|
},
|
|
2327
2327
|
onComplete(u, p, f) {
|
|
2328
|
-
|
|
2329
|
-
t && t(l.result), a = l.result;
|
|
2330
|
-
},
|
|
2331
|
-
onFailure(u, p, f) {
|
|
2332
|
-
const l = { erreur: JSON.parse(u), headers: p, xhr: f };
|
|
2333
|
-
n && n(l), n && console.error(
|
|
2334
|
-
"ERROR | _3DSwym_get_currentUser => _3dswym_get_version | onFailure",
|
|
2335
|
-
u
|
|
2336
|
-
);
|
|
2328
|
+
a = JSON.parse(u).result;
|
|
2337
2329
|
}
|
|
2338
2330
|
});
|
|
2339
2331
|
});
|
|
2340
|
-
}
|
|
2341
|
-
|
|
2332
|
+
}
|
|
2333
|
+
if (!a) {
|
|
2334
|
+
const c = r + "/api/users/current";
|
|
2342
2335
|
m(c, {
|
|
2343
2336
|
method: "GET",
|
|
2344
2337
|
onComplete(d, u, p) {
|
|
2345
2338
|
const f = JSON.parse(d);
|
|
2346
|
-
|
|
2347
|
-
},
|
|
2348
|
-
onFailure(d, u, p) {
|
|
2349
|
-
const f = { erreur: JSON.parse(d), headers: u, xhr: p };
|
|
2350
|
-
n && n(f), n && console.error(
|
|
2351
|
-
"ERROR | _3DSwym_get_currentUser => _3dswym_get_version | onFailure",
|
|
2352
|
-
d
|
|
2353
|
-
);
|
|
2339
|
+
f.first_name = f.firstName, f.last_name = f.lastName, a = f;
|
|
2354
2340
|
}
|
|
2355
2341
|
});
|
|
2356
2342
|
}
|
|
2357
|
-
a ?
|
|
2343
|
+
a ? n(a) : i("ERROR | _3DSwym_get_currentUser => CURRENT_USER is null");
|
|
2358
2344
|
} catch {
|
|
2359
2345
|
}
|
|
2360
2346
|
});
|
|
2361
2347
|
}
|
|
2362
|
-
function _t(e, t,
|
|
2348
|
+
function _t(e, t, s = void 0, n = void 0) {
|
|
2363
2349
|
const i = e.space + "/api/user/find/login/" + t;
|
|
2364
2350
|
w(
|
|
2365
2351
|
e,
|
|
@@ -2369,23 +2355,23 @@ function _t(e, t, n = void 0, s = void 0) {
|
|
|
2369
2355
|
headers: { "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken },
|
|
2370
2356
|
onComplete(o, a, c) {
|
|
2371
2357
|
const d = JSON.parse(o);
|
|
2372
|
-
|
|
2358
|
+
s && s(d);
|
|
2373
2359
|
},
|
|
2374
2360
|
onFailure(o) {
|
|
2375
|
-
|
|
2361
|
+
n && n(o);
|
|
2376
2362
|
}
|
|
2377
2363
|
});
|
|
2378
2364
|
},
|
|
2379
|
-
|
|
2365
|
+
n
|
|
2380
2366
|
);
|
|
2381
2367
|
}
|
|
2382
|
-
function St(e, t = void 0,
|
|
2368
|
+
function St(e, t = void 0, s = void 0) {
|
|
2383
2369
|
const {
|
|
2384
|
-
_3DSwym:
|
|
2370
|
+
_3DSwym: n,
|
|
2385
2371
|
_3DSwym_token: i,
|
|
2386
2372
|
subjectUri: r,
|
|
2387
2373
|
richMessage: o
|
|
2388
|
-
} = e, a = `${
|
|
2374
|
+
} = e, a = `${n}/commentproxy/subjects/${r}/comments`, d = {
|
|
2389
2375
|
method: "POST",
|
|
2390
2376
|
headers: {
|
|
2391
2377
|
"Content-type": "application/json;charset=UTF-8",
|
|
@@ -2401,22 +2387,22 @@ function St(e, t = void 0, n = void 0) {
|
|
|
2401
2387
|
l.status = f.status, t && t(l);
|
|
2402
2388
|
},
|
|
2403
2389
|
onFailure(u) {
|
|
2404
|
-
|
|
2390
|
+
s && s(u);
|
|
2405
2391
|
}
|
|
2406
2392
|
};
|
|
2407
2393
|
m(a, d);
|
|
2408
2394
|
}
|
|
2409
|
-
function wt(e, t = void 0,
|
|
2410
|
-
e.tenant && x(e, (
|
|
2411
|
-
const i =
|
|
2395
|
+
function wt(e, t = void 0, s = void 0) {
|
|
2396
|
+
e.tenant && x(e, (n) => {
|
|
2397
|
+
const i = n.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
|
|
2412
2398
|
return t && t(i), i;
|
|
2413
2399
|
});
|
|
2414
2400
|
}
|
|
2415
|
-
function Ct(e, t = void 0,
|
|
2416
|
-
e.tenant && x(e, (
|
|
2417
|
-
const i =
|
|
2401
|
+
function Ct(e, t = void 0, s = void 0) {
|
|
2402
|
+
e.tenant && x(e, (n) => {
|
|
2403
|
+
const i = n.services.find(
|
|
2418
2404
|
(a) => a.id === "3dpassport"
|
|
2419
|
-
)?.url, r =
|
|
2405
|
+
)?.url, r = n.services.find((a) => a.id === "businessprocess")?.url + "/api/v2", o = `${i}/login/?service=${r}/auth/cas`;
|
|
2420
2406
|
m(o, {
|
|
2421
2407
|
async onComplete(a) {
|
|
2422
2408
|
const c = typeof a == "string" ? JSON.parse(a)?.x3ds_service_redirect_url : a?.x3ds_service_redirect_url;
|
|
@@ -2427,24 +2413,24 @@ function Ct(e, t = void 0, n = void 0) {
|
|
|
2427
2413
|
});
|
|
2428
2414
|
},
|
|
2429
2415
|
onFailure(a) {
|
|
2430
|
-
|
|
2416
|
+
s && s(a);
|
|
2431
2417
|
}
|
|
2432
2418
|
});
|
|
2433
2419
|
});
|
|
2434
2420
|
}
|
|
2435
|
-
function Tt(e, t = void 0,
|
|
2421
|
+
function Tt(e, t = void 0, s = void 0) {
|
|
2436
2422
|
if (e.tenant) {
|
|
2437
|
-
const
|
|
2438
|
-
fetch(`https://api.uixhome.fr/${
|
|
2423
|
+
const n = e.tenant.toLowerCase();
|
|
2424
|
+
fetch(`https://api.uixhome.fr/${n}/iterop/jwtuser`, {
|
|
2439
2425
|
method: "POST"
|
|
2440
2426
|
}).then((i) => i.json()).then((i) => {
|
|
2441
2427
|
t && t(i);
|
|
2442
2428
|
}).catch((i) => {
|
|
2443
|
-
|
|
2429
|
+
s && s(i);
|
|
2444
2430
|
});
|
|
2445
2431
|
}
|
|
2446
2432
|
}
|
|
2447
|
-
async function bt(e, t,
|
|
2433
|
+
async function bt(e, t, s = void 0, n = void 0) {
|
|
2448
2434
|
if (e.tenant) {
|
|
2449
2435
|
const i = e.tenant.toLowerCase();
|
|
2450
2436
|
fetch(
|
|
@@ -2453,61 +2439,61 @@ async function bt(e, t, n = void 0, s = void 0) {
|
|
|
2453
2439
|
method: "GET"
|
|
2454
2440
|
}
|
|
2455
2441
|
).then((r) => r.json()).then((r) => {
|
|
2456
|
-
n && n(r);
|
|
2457
|
-
}).catch((r) => {
|
|
2458
2442
|
s && s(r);
|
|
2443
|
+
}).catch((r) => {
|
|
2444
|
+
n && n(r);
|
|
2459
2445
|
});
|
|
2460
2446
|
}
|
|
2461
2447
|
}
|
|
2462
|
-
async function Ot(e, t,
|
|
2448
|
+
async function Ot(e, t, s, n = void 0, i = void 0) {
|
|
2463
2449
|
if (e.tenant) {
|
|
2464
2450
|
const r = e.tenant.toLowerCase();
|
|
2465
2451
|
fetch(
|
|
2466
|
-
`https://api.uixhome.fr/${r}/iterop/businesstable/one/${
|
|
2452
|
+
`https://api.uixhome.fr/${r}/iterop/businesstable/one/${s}?t=${t}`,
|
|
2467
2453
|
{
|
|
2468
2454
|
method: "POST"
|
|
2469
2455
|
}
|
|
2470
2456
|
).then((o) => o.json()).then((o) => {
|
|
2471
|
-
|
|
2457
|
+
n && n(o);
|
|
2472
2458
|
}).catch((o) => {
|
|
2473
2459
|
i && i(o);
|
|
2474
2460
|
});
|
|
2475
2461
|
}
|
|
2476
2462
|
}
|
|
2477
|
-
async function $t(e, t,
|
|
2463
|
+
async function $t(e, t, s, n = void 0, i = void 0) {
|
|
2478
2464
|
if (e.tenant) {
|
|
2479
2465
|
const r = e.tenant.toLowerCase();
|
|
2480
2466
|
fetch(
|
|
2481
|
-
`https://api.uixhome.fr/${r}/iterop/businesstable/rows/${
|
|
2467
|
+
`https://api.uixhome.fr/${r}/iterop/businesstable/rows/${s}/?t=${t}`,
|
|
2482
2468
|
{
|
|
2483
2469
|
method: "POST"
|
|
2484
2470
|
}
|
|
2485
2471
|
).then((o) => o.json()).then((o) => {
|
|
2486
|
-
|
|
2472
|
+
n && n(o);
|
|
2487
2473
|
}).catch((o) => {
|
|
2488
2474
|
i && i(o);
|
|
2489
2475
|
});
|
|
2490
2476
|
}
|
|
2491
2477
|
}
|
|
2492
|
-
async function Nt(e, t,
|
|
2478
|
+
async function Nt(e, t, s, n, i = void 0, r = void 0) {
|
|
2493
2479
|
if (e.tenant) {
|
|
2494
2480
|
const o = e.tenant.toLowerCase();
|
|
2495
2481
|
fetch(
|
|
2496
|
-
`https://api.uixhome.fr/${o}/iterop/businesstable/patch/rows/${
|
|
2482
|
+
`https://api.uixhome.fr/${o}/iterop/businesstable/patch/rows/${s}/?t=${t}&b=${n}`,
|
|
2497
2483
|
{
|
|
2498
2484
|
method: "POST"
|
|
2499
2485
|
}
|
|
2500
2486
|
).then((a) => a.json()).then((a) => {
|
|
2501
2487
|
i && i(a);
|
|
2502
2488
|
}).catch((a) => {
|
|
2503
|
-
r && r(a,
|
|
2489
|
+
r && r(a, s, n);
|
|
2504
2490
|
});
|
|
2505
2491
|
}
|
|
2506
2492
|
}
|
|
2507
|
-
async function It(e, t,
|
|
2493
|
+
async function It(e, t, s, n, i, r = void 0, o = void 0) {
|
|
2508
2494
|
if (e.tenant) {
|
|
2509
|
-
const a = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/search/rows/${
|
|
2510
|
-
|
|
2495
|
+
const a = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/search/rows/${s}?t=${t}&c=${encodeURIComponent(
|
|
2496
|
+
n
|
|
2511
2497
|
)}&b=${encodeURIComponent(i)}`;
|
|
2512
2498
|
fetch(a, {
|
|
2513
2499
|
method: "POST"
|
|
@@ -2516,17 +2502,17 @@ async function It(e, t, n, s, i, r = void 0, o = void 0) {
|
|
|
2516
2502
|
}).catch((c) => {
|
|
2517
2503
|
o && o({
|
|
2518
2504
|
error: c,
|
|
2519
|
-
tableId:
|
|
2520
|
-
columns:
|
|
2505
|
+
tableId: s,
|
|
2506
|
+
columns: n,
|
|
2521
2507
|
body: i
|
|
2522
2508
|
});
|
|
2523
2509
|
});
|
|
2524
2510
|
}
|
|
2525
2511
|
}
|
|
2526
|
-
async function Ft(e, t,
|
|
2512
|
+
async function Ft(e, t, s, n, i = void 0, r = void 0) {
|
|
2527
2513
|
if (e.tenant) {
|
|
2528
|
-
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${
|
|
2529
|
-
|
|
2514
|
+
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${s}?t=${t}&b=${encodeURIComponent(
|
|
2515
|
+
n
|
|
2530
2516
|
)}`;
|
|
2531
2517
|
fetch(o, {
|
|
2532
2518
|
method: "POST"
|
|
@@ -2540,15 +2526,15 @@ async function Ft(e, t, n, s, i = void 0, r = void 0) {
|
|
|
2540
2526
|
});
|
|
2541
2527
|
}
|
|
2542
2528
|
}
|
|
2543
|
-
async function
|
|
2529
|
+
async function Ut(e, t, s, n = void 0, i = void 0) {
|
|
2544
2530
|
if (e.tenant) {
|
|
2545
2531
|
const r = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/create/?t=${t}&b=${encodeURIComponent(
|
|
2546
|
-
|
|
2532
|
+
s
|
|
2547
2533
|
)}`;
|
|
2548
2534
|
fetch(r, {
|
|
2549
2535
|
method: "POST"
|
|
2550
2536
|
}).then((o) => o.json()).then((o) => {
|
|
2551
|
-
|
|
2537
|
+
n && n(o);
|
|
2552
2538
|
}).catch((o) => {
|
|
2553
2539
|
i && i({
|
|
2554
2540
|
error: o,
|
|
@@ -2557,11 +2543,11 @@ async function Rt(e, t, n, s = void 0, i = void 0) {
|
|
|
2557
2543
|
});
|
|
2558
2544
|
}
|
|
2559
2545
|
}
|
|
2560
|
-
async function
|
|
2546
|
+
async function jt(e, t, s, n, i = void 0, r = void 0) {
|
|
2561
2547
|
if (e.tenant) {
|
|
2562
2548
|
const o = e.tenant.toLowerCase();
|
|
2563
2549
|
fetch(
|
|
2564
|
-
`https://api.uixhome.fr/${o}/iterop/runtime/processes/${
|
|
2550
|
+
`https://api.uixhome.fr/${o}/iterop/runtime/processes/${s}?t=${t}&b=${n}`,
|
|
2565
2551
|
{
|
|
2566
2552
|
method: "POST"
|
|
2567
2553
|
}
|
|
@@ -2572,26 +2558,26 @@ async function Ut(e, t, n, s, i = void 0, r = void 0) {
|
|
|
2572
2558
|
});
|
|
2573
2559
|
}
|
|
2574
2560
|
}
|
|
2575
|
-
async function
|
|
2561
|
+
async function kt(e, t, s, n = void 0, i = void 0) {
|
|
2576
2562
|
if (console.log("_Iterop_GetOneDependencyTable | Run"), e.tenant) {
|
|
2577
2563
|
const r = e.tenant.toLowerCase();
|
|
2578
2564
|
fetch(
|
|
2579
|
-
`https://api.uixhome.fr/${r}/iterop/dependencytable/one/${
|
|
2565
|
+
`https://api.uixhome.fr/${r}/iterop/dependencytable/one/${s}/?t=${t}`,
|
|
2580
2566
|
{
|
|
2581
2567
|
method: "POST"
|
|
2582
2568
|
}
|
|
2583
2569
|
).then((o) => o.json()).then((o) => {
|
|
2584
|
-
|
|
2570
|
+
n && n(o);
|
|
2585
2571
|
}).catch((o) => {
|
|
2586
2572
|
i && i(o);
|
|
2587
2573
|
});
|
|
2588
2574
|
}
|
|
2589
2575
|
}
|
|
2590
|
-
async function
|
|
2576
|
+
async function Rt(e, t, s, n, i, r = void 0, o = void 0) {
|
|
2591
2577
|
if (e.tenant) {
|
|
2592
2578
|
const a = e.tenant.toLowerCase();
|
|
2593
2579
|
fetch(
|
|
2594
|
-
`https://api.uixhome.fr/${a}/iterop/dependencytable/patch/${
|
|
2580
|
+
`https://api.uixhome.fr/${a}/iterop/dependencytable/patch/${s}/?t=${t}&cli=${n}&b=${i}`,
|
|
2595
2581
|
{
|
|
2596
2582
|
method: "POST"
|
|
2597
2583
|
}
|
|
@@ -2602,11 +2588,11 @@ async function kt(e, t, n, s, i, r = void 0, o = void 0) {
|
|
|
2602
2588
|
});
|
|
2603
2589
|
}
|
|
2604
2590
|
}
|
|
2605
|
-
async function vt(e, t,
|
|
2591
|
+
async function vt(e, t, s, n, i = void 0, r = void 0) {
|
|
2606
2592
|
if (e.tenant) {
|
|
2607
2593
|
const o = e.tenant.toLowerCase();
|
|
2608
2594
|
fetch(
|
|
2609
|
-
`https://api.uixhome.fr/${o}/iterop/dependencytable/put/${
|
|
2595
|
+
`https://api.uixhome.fr/${o}/iterop/dependencytable/put/${s}/?t=${t}&b=${n}`,
|
|
2610
2596
|
{
|
|
2611
2597
|
method: "POST"
|
|
2612
2598
|
}
|
|
@@ -2618,16 +2604,16 @@ async function vt(e, t, n, s, i = void 0, r = void 0) {
|
|
|
2618
2604
|
}
|
|
2619
2605
|
}
|
|
2620
2606
|
//!SECTION
|
|
2621
|
-
async function At(e, t,
|
|
2607
|
+
async function At(e, t, s, n = void 0, i = void 0) {
|
|
2622
2608
|
if (e.tenant) {
|
|
2623
2609
|
const r = e.tenant.toLowerCase();
|
|
2624
2610
|
fetch(
|
|
2625
|
-
`https://api.uixhome.fr/${r}/iterop/list/one/${
|
|
2611
|
+
`https://api.uixhome.fr/${r}/iterop/list/one/${s}/?t=${t}`,
|
|
2626
2612
|
{
|
|
2627
2613
|
method: "POST"
|
|
2628
2614
|
}
|
|
2629
2615
|
).then((o) => o.json()).then((o) => {
|
|
2630
|
-
|
|
2616
|
+
n && n(o);
|
|
2631
2617
|
}).catch((o) => {
|
|
2632
2618
|
i && i(o);
|
|
2633
2619
|
});
|
|
@@ -2638,13 +2624,13 @@ function xt(e) {
|
|
|
2638
2624
|
const t = "Hello " + e;
|
|
2639
2625
|
return console.log(t), t;
|
|
2640
2626
|
}
|
|
2641
|
-
function Pt(e, t = void 0,
|
|
2642
|
-
return console.log("credentials", e), new Promise((
|
|
2627
|
+
function Pt(e, t = void 0, s = void 0) {
|
|
2628
|
+
return console.log("credentials", e), new Promise((n) => {
|
|
2643
2629
|
if (e.token === "" && b(e), !e.space || e.space === "") {
|
|
2644
2630
|
const o = Y();
|
|
2645
2631
|
console.log("platformeInfo", o);
|
|
2646
2632
|
}
|
|
2647
|
-
|
|
2633
|
+
U(
|
|
2648
2634
|
e,
|
|
2649
2635
|
"Common space",
|
|
2650
2636
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -2706,13 +2692,13 @@ function Pt(e, t = void 0, n = void 0) {
|
|
|
2706
2692
|
t && t(d);
|
|
2707
2693
|
},
|
|
2708
2694
|
onFailure(d) {
|
|
2709
|
-
|
|
2695
|
+
s && s(d);
|
|
2710
2696
|
}
|
|
2711
2697
|
});
|
|
2712
2698
|
}
|
|
2713
2699
|
},
|
|
2714
2700
|
onFailure(o) {
|
|
2715
|
-
|
|
2701
|
+
s && s(o);
|
|
2716
2702
|
}
|
|
2717
2703
|
});
|
|
2718
2704
|
});
|
|
@@ -2734,8 +2720,8 @@ export {
|
|
|
2734
2720
|
P as _3DSpace_get_docInfo,
|
|
2735
2721
|
ae as _3DSpace_get_downloadTicket_multidoc,
|
|
2736
2722
|
De as _3DSpace_get_multiDocInfo,
|
|
2737
|
-
|
|
2738
|
-
|
|
2723
|
+
U as _3DSpace_get_securityContexts,
|
|
2724
|
+
k as _3DSpace_get_ticket,
|
|
2739
2725
|
Xe as _3DSpace_lifecycle_changeRevision,
|
|
2740
2726
|
Ke as _3DSpace_lifecycle_changeState,
|
|
2741
2727
|
Be as _3DSpace_lifecycle_getGraph,
|
|
@@ -2761,21 +2747,21 @@ export {
|
|
|
2761
2747
|
pt as _3DSwym_postIdea,
|
|
2762
2748
|
ut as _3DSwym_postIdeaTemplate,
|
|
2763
2749
|
v as _3DSwym_sendMessageData,
|
|
2764
|
-
|
|
2750
|
+
Ue as _AppMngt_get_info_user,
|
|
2765
2751
|
Fe as _AppMngt_get_users,
|
|
2766
2752
|
Nt as _Iterop_AddOrRemoveRows,
|
|
2767
2753
|
Ct as _Iterop_Auth_CAS,
|
|
2768
|
-
|
|
2754
|
+
kt as _Iterop_GetOneDependencyTable,
|
|
2769
2755
|
At as _Iterop_GetOneList,
|
|
2770
|
-
|
|
2756
|
+
Rt as _Iterop_PatchDependencyTable,
|
|
2771
2757
|
vt as _Iterop_PutDependencyTable,
|
|
2772
2758
|
It as _Iterop_businessTableSearchInRows,
|
|
2773
|
-
|
|
2759
|
+
Ut as _Iterop_createBusinessTable,
|
|
2774
2760
|
bt as _Iterop_getAllBusinessTables,
|
|
2775
2761
|
Ot as _Iterop_getOneBusinessTable,
|
|
2776
2762
|
$t as _Iterop_getOneBusinessTableRows,
|
|
2777
2763
|
Tt as _Iterop_jwtUser,
|
|
2778
|
-
|
|
2764
|
+
jt as _Iterop_runProcess,
|
|
2779
2765
|
Ft as _Iterop_updateBusinessTable,
|
|
2780
2766
|
Y as _getPlateformInfos,
|
|
2781
2767
|
$e as _getPlatformServices,
|
|
@@ -2790,21 +2776,21 @@ export {
|
|
|
2790
2776
|
X as chunkArray,
|
|
2791
2777
|
Ie as compass_getListAdditionalApps,
|
|
2792
2778
|
W as couleurs,
|
|
2793
|
-
|
|
2779
|
+
je as createUserGroups,
|
|
2794
2780
|
oe as dataMixing,
|
|
2795
2781
|
ve as deleteUserGroups,
|
|
2796
2782
|
Se as findAdresse,
|
|
2797
2783
|
qe as getAllContextSecurity,
|
|
2798
2784
|
H as getCSRFToken,
|
|
2799
2785
|
_e as getCommunes,
|
|
2800
|
-
|
|
2786
|
+
ke as getComplementUG,
|
|
2801
2787
|
He as getDataFrom3DSpace,
|
|
2802
2788
|
we as getDataFromGouvFr,
|
|
2803
2789
|
et as getDatasByTenant,
|
|
2804
2790
|
tt as getDatasFrom3DSpace,
|
|
2805
2791
|
ze as getDownloadDocument,
|
|
2806
2792
|
it as getInfoDocTags,
|
|
2807
|
-
|
|
2793
|
+
Re as getUserGroupsList,
|
|
2808
2794
|
q as getUsersGroupRules,
|
|
2809
2795
|
Ze as get_3DSpace_csrf,
|
|
2810
2796
|
Ae as patchUserGroups,
|