@beam3_dev/api_module 0.0.150 → 0.0.152
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 +417 -374
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +5 -5
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +2 -1
package/dist/wb3Api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { v4 as
|
|
2
|
-
import { DateTime as
|
|
3
|
-
import { requirejs as O, widget as
|
|
4
|
-
function
|
|
5
|
-
return
|
|
1
|
+
import { v4 as E } from "uuid";
|
|
2
|
+
import { DateTime as v } from "luxon";
|
|
3
|
+
import { requirejs as O, widget as D } from "@widget-lab/3ddashboard-utils";
|
|
4
|
+
function P() {
|
|
5
|
+
return E();
|
|
6
6
|
}
|
|
7
|
-
const
|
|
7
|
+
const G = {
|
|
8
8
|
b3M3Yellow: "#FFB300",
|
|
9
9
|
b3AboutageBlue: "#42A5F5",
|
|
10
10
|
b3UsinageGreen: "#689F38",
|
|
@@ -34,7 +34,7 @@ const J = {
|
|
|
34
34
|
b3Edit8: "#616161",
|
|
35
35
|
b3Edit9: "#795548"
|
|
36
36
|
};
|
|
37
|
-
async function
|
|
37
|
+
async function fe(e, t = void 0, n = void 0) {
|
|
38
38
|
const s = parseInt(e);
|
|
39
39
|
await fetch(
|
|
40
40
|
"https://apicarto.ign.fr/api/codes-postaux/communes/" + s,
|
|
@@ -50,7 +50,7 @@ async function ce(e, t = void 0, n = void 0) {
|
|
|
50
50
|
n && n(a), console.error("Erreur : " + a);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
async function
|
|
53
|
+
async function me(e, t = void 0, n = 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,8 +65,8 @@ async function de(e, t = void 0, n = void 0) {
|
|
|
65
65
|
n && n(s), console.error("Erreur : " + s);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
async function
|
|
69
|
-
let n =
|
|
68
|
+
async function ge(e, t = G) {
|
|
69
|
+
let n = v.now().year;
|
|
70
70
|
const s = e, a = [], r = (i) => {
|
|
71
71
|
for (let c in i)
|
|
72
72
|
a.push({ date: c, comment: i[c] });
|
|
@@ -89,27 +89,27 @@ async function pe(e, t = J) {
|
|
|
89
89
|
} : s;
|
|
90
90
|
for (let c of a)
|
|
91
91
|
i.events.findIndex(
|
|
92
|
-
(p) => p.start ===
|
|
92
|
+
(p) => p.start === v.fromISO(c.date).toISODate() && p.name === "Férié : " + c.comment
|
|
93
93
|
) === -1 && i.events.push({
|
|
94
94
|
name: "Férié : " + c.comment,
|
|
95
|
-
start:
|
|
96
|
-
end:
|
|
95
|
+
start: v.fromISO(c.date).toISODate(),
|
|
96
|
+
end: v.fromISO(c.date).toISODate(),
|
|
97
97
|
color: t.b3BusinnessDays,
|
|
98
98
|
timed: !1
|
|
99
99
|
});
|
|
100
100
|
return i;
|
|
101
101
|
})();
|
|
102
102
|
}
|
|
103
|
-
async function
|
|
103
|
+
async function he(e, t, n = !0) {
|
|
104
104
|
const s = e.events.findIndex((a) => a.uuid === t.uuid);
|
|
105
105
|
return s === -1 ? e.events.push(t) : n ? e.events[s] = t : e.events.splice(s, 1), e.length > 0 && e.sort((a, r) => a.start - r.start), e;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function m(e, t) {
|
|
108
108
|
O(["DS/WAFData/WAFData"], (n) => {
|
|
109
109
|
n.authenticatedRequest(e, t);
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Se(e, t, n) {
|
|
113
113
|
O(["DS/DataDragAndDrop/DataDragAndDrop"], (s) => {
|
|
114
114
|
s.draggable(e, {
|
|
115
115
|
data: t,
|
|
@@ -117,27 +117,27 @@ function ue(e, t, n) {
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function ye(e, t = void 0) {
|
|
121
121
|
O(["DS/TagNavigatorProxy/TagNavigatorProxy"], (n) => {
|
|
122
122
|
let s;
|
|
123
123
|
s === void 0 && (s = n.createProxy({
|
|
124
|
-
widgetId:
|
|
124
|
+
widgetId: D.id,
|
|
125
125
|
filteringMode: "WithFilteringServices"
|
|
126
126
|
}), t !== void 0 && s.addEvent("onFilterSubjectsChange", t)), s.setSubjectsTags(e);
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function _e(e, t) {
|
|
130
130
|
O(["DS/DataDragAndDrop/DataDragAndDrop"], (n) => {
|
|
131
131
|
n.droppable(e, {
|
|
132
132
|
drop: t
|
|
133
133
|
});
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
|
-
async function
|
|
136
|
+
async function we(e, t = void 0, n = void 0) {
|
|
137
137
|
await O(
|
|
138
138
|
["DS/i3DXCompassServices/i3DXCompassServices"],
|
|
139
139
|
(s) => {
|
|
140
|
-
(!e || e === "") && (e =
|
|
140
|
+
(!e || e === "") && (e = D.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), t && t(
|
|
141
141
|
s.getPlatformServices({
|
|
142
142
|
platformId: e,
|
|
143
143
|
onComplete: t,
|
|
@@ -147,7 +147,7 @@ async function ge(e, t = void 0, n = void 0) {
|
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function K() {
|
|
151
151
|
let e = {};
|
|
152
152
|
return O(["DS/PlatformAPI/PlatformAPI"], (t) => {
|
|
153
153
|
const n = t.getTenant(), s = t.getUser(), a = t.getAllApplicationConfigurations(), r = t.getApplicationConfiguration(
|
|
@@ -161,10 +161,10 @@ function E() {
|
|
|
161
161
|
};
|
|
162
162
|
}), console.log("%cRETOUR API :", "color:blue", e), e;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function $(e, t = void 0, n = void 0) {
|
|
165
165
|
if (e.tenant) {
|
|
166
166
|
const s = `https://${e.tenant}-eu1-apps.3dexperience.3ds.com/enovia/resources/AppsMngt/api/v1/services?tenant=${e.tenant}&cors=true&xrequestedwith=xmlhttprequest`;
|
|
167
|
-
|
|
167
|
+
m(s, {
|
|
168
168
|
onComplete(a) {
|
|
169
169
|
const r = typeof a == "string" ? JSON.parse(a) : a;
|
|
170
170
|
if (r && "platforms" in r) {
|
|
@@ -181,10 +181,10 @@ function v(e, t = void 0, n = void 0) {
|
|
|
181
181
|
});
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Ce(e, t = void 0, n = void 0) {
|
|
185
185
|
if (e.tenant) {
|
|
186
186
|
const s = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dpassport&platformId=${e.tenant}`;
|
|
187
|
-
|
|
187
|
+
m(s, {
|
|
188
188
|
onComplete(a) {
|
|
189
189
|
const r = JSON.parse(a);
|
|
190
190
|
if (console.log("serviceId=3dpassport", r), Array.isArray(r) && r.length > 0) {
|
|
@@ -198,14 +198,14 @@ function he(e, t = void 0, n = void 0) {
|
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function Te(e, t, n) {
|
|
202
202
|
const s = {
|
|
203
203
|
base: `${e.space}`,
|
|
204
204
|
uri: "/resources/AppsMngt/api/custom/applications",
|
|
205
205
|
option: `?filter=${e.tenant}`
|
|
206
206
|
// facultatif
|
|
207
207
|
}, a = `${s.base}${s.uri}${s.option}`;
|
|
208
|
-
|
|
208
|
+
m(a, {
|
|
209
209
|
method: "GET",
|
|
210
210
|
headers: {
|
|
211
211
|
"Content-Type": "application/json",
|
|
@@ -213,8 +213,8 @@ function Se(e, t, n) {
|
|
|
213
213
|
},
|
|
214
214
|
onComplete(r, o, i) {
|
|
215
215
|
const c = JSON.parse(r), d = c.data.map((p) => {
|
|
216
|
-
const l = p.attributes.name,
|
|
217
|
-
return { name: l, id:
|
|
216
|
+
const l = p.attributes.name, u = p.id;
|
|
217
|
+
return { name: l, id: u };
|
|
218
218
|
});
|
|
219
219
|
t && t(d, c);
|
|
220
220
|
},
|
|
@@ -224,9 +224,9 @@ function Se(e, t, n) {
|
|
|
224
224
|
}
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Oe(e, t = void 0, n = void 0) {
|
|
228
228
|
let s = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
|
|
229
|
-
|
|
229
|
+
m(s, {
|
|
230
230
|
onComplete(a, r, o) {
|
|
231
231
|
const i = JSON.parse(a);
|
|
232
232
|
console.log("_AppMngt_get_users => ", i), t && t(i);
|
|
@@ -237,9 +237,9 @@ function _e(e, t = void 0, n = void 0) {
|
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function be(e, t, n = void 0, s = void 0) {
|
|
241
241
|
let a = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${t}`;
|
|
242
|
-
|
|
242
|
+
m(a, {
|
|
243
243
|
onComplete(r, o, i) {
|
|
244
244
|
const c = JSON.parse(r);
|
|
245
245
|
n && n(c);
|
|
@@ -250,11 +250,11 @@ function ye(e, t, n = void 0, s = void 0) {
|
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const
|
|
253
|
+
const k = {
|
|
254
254
|
"Content-Type": "application/json",
|
|
255
255
|
Accept: "application/json,text/javascript,*/*"
|
|
256
256
|
};
|
|
257
|
-
function
|
|
257
|
+
function Ne(e, t, n = void 0, s = void 0) {
|
|
258
258
|
const { space: a, currentUser: r } = e, i = `${a}${{
|
|
259
259
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup"
|
|
260
260
|
}.URIUGr}`, c = {
|
|
@@ -269,9 +269,9 @@ function we(e, t, n = void 0, s = void 0) {
|
|
|
269
269
|
}
|
|
270
270
|
]
|
|
271
271
|
};
|
|
272
|
-
|
|
272
|
+
m(i, {
|
|
273
273
|
method: "POST",
|
|
274
|
-
headers:
|
|
274
|
+
headers: k,
|
|
275
275
|
data: JSON.stringify(c),
|
|
276
276
|
onComplete(d) {
|
|
277
277
|
n && n(JSON.parse(d));
|
|
@@ -283,9 +283,9 @@ function we(e, t, n = void 0, s = void 0) {
|
|
|
283
283
|
}
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function ve(e, t, n = void 0, s = void 0) {
|
|
287
287
|
const { space: a, tenant: r } = e, o = a, i = `/3drdfpersist/v1/resources/${t}`, c = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${r}`, d = `${o}${i}${c}`;
|
|
288
|
-
|
|
288
|
+
m(d, {
|
|
289
289
|
opts: {
|
|
290
290
|
method: "GET",
|
|
291
291
|
headers: {
|
|
@@ -293,50 +293,50 @@ function Ce(e, t, n = void 0, s = void 0) {
|
|
|
293
293
|
Accept: "application/json,text/javascript,*/*"
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
|
-
onComplete(
|
|
297
|
-
n && n(JSON.parse(
|
|
296
|
+
onComplete(u) {
|
|
297
|
+
n && n(JSON.parse(u));
|
|
298
298
|
},
|
|
299
|
-
onFailure(
|
|
300
|
-
const g =
|
|
301
|
-
g.msg =
|
|
299
|
+
onFailure(u, f) {
|
|
300
|
+
const g = u;
|
|
301
|
+
g.msg = f.errormsg, g.errCode = f.errorcode, s && s(g);
|
|
302
302
|
}
|
|
303
303
|
});
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function V(e, t = void 0, n = void 0) {
|
|
306
306
|
const { space: s, tenant: a } = e, r = s, o = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", i = `?tenant=dstenant:${a}`, c = {
|
|
307
307
|
method: "GET",
|
|
308
308
|
Accept: "application/json,*/*,test/javascript"
|
|
309
309
|
}, d = `${r}${o}${i}`;
|
|
310
|
-
|
|
310
|
+
m(d, {
|
|
311
311
|
OPTsH: c,
|
|
312
312
|
onComplete(p) {
|
|
313
313
|
t && t(JSON.parse(p));
|
|
314
314
|
},
|
|
315
315
|
onFailure(p, l) {
|
|
316
|
-
const
|
|
317
|
-
|
|
316
|
+
const u = p;
|
|
317
|
+
u.msg = l.errormsg, u.errCode = l.errorcode, n && n(u);
|
|
318
318
|
}
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function Ie(e, t = void 0, n = void 0) {
|
|
322
322
|
const { space: s, currentUser: a } = e, i = `${s}/3drdfpersist/resources/v1/usersgroup?select=uri,title,description,owner,members,pending_members,creation_date,modification_date,visibility`, d = { method: "GET", headers: {
|
|
323
323
|
"Content-Type": "application/json",
|
|
324
324
|
Accept: "application/json,text/javascript,*/*"
|
|
325
325
|
} };
|
|
326
326
|
try {
|
|
327
|
-
|
|
327
|
+
m(i, {
|
|
328
328
|
opts: d,
|
|
329
329
|
onComplete(p) {
|
|
330
|
-
const l = JSON.parse(p),
|
|
330
|
+
const l = JSON.parse(p), u = {}, f = l.groups.filter((g) => g.uri.startsWith("uuid:"));
|
|
331
331
|
if (a && Object.keys(a).length > 0) {
|
|
332
|
-
const g =
|
|
333
|
-
|
|
332
|
+
const g = f.filter((y) => y.owner === a.email), h = f.filter((y) => y.members.includes(a.email)), S = g.concat(h);
|
|
333
|
+
u.iam = S, u.UG = f, u.iamMember = h, V(
|
|
334
334
|
e,
|
|
335
|
-
(
|
|
336
|
-
|
|
335
|
+
(y) => {
|
|
336
|
+
u.rules = y, t && t(u);
|
|
337
337
|
},
|
|
338
|
-
(
|
|
339
|
-
n && n(
|
|
338
|
+
(y) => {
|
|
339
|
+
n && n(y);
|
|
340
340
|
}
|
|
341
341
|
);
|
|
342
342
|
}
|
|
@@ -349,13 +349,13 @@ function Te(e, t = void 0, n = void 0) {
|
|
|
349
349
|
console.log(p);
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function $e(e, t) {
|
|
353
353
|
const { space: n } = e, a = `${n}/3drdfpersist/resources/v1/usersgroup/${t}`;
|
|
354
|
-
|
|
354
|
+
m(a, {
|
|
355
355
|
method: "DELETE"
|
|
356
356
|
});
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function Ae(e, t, n, s = void 0, a = void 0) {
|
|
359
359
|
const { space: r, tenant: o } = e, i = {
|
|
360
360
|
URITI: "/3drdfpersist/resources/v1/template-instances",
|
|
361
361
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup",
|
|
@@ -365,8 +365,8 @@ function be(e, t, n, s = void 0, a = void 0) {
|
|
|
365
365
|
OPTsTI: "?$mask=dsaccess:Mask.GroupUI.Properties",
|
|
366
366
|
OPTsTenant: `tenant=dstenant:${o}`
|
|
367
367
|
}, c = n, d = `${r}${i.URIUGr}/${t}`, p = JSON.stringify(c);
|
|
368
|
-
|
|
369
|
-
headers:
|
|
368
|
+
m(d, {
|
|
369
|
+
headers: k,
|
|
370
370
|
method: "PATCH",
|
|
371
371
|
data: p,
|
|
372
372
|
type: "json",
|
|
@@ -378,11 +378,11 @@ function be(e, t, n, s = void 0, a = void 0) {
|
|
|
378
378
|
}
|
|
379
379
|
});
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function Ue(e, t, n, s = void 0, a = void 0) {
|
|
382
382
|
const { space: r } = e, i = `${r}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
|
|
383
|
-
|
|
383
|
+
m(i, {
|
|
384
384
|
method: "PATCH",
|
|
385
|
-
headers:
|
|
385
|
+
headers: k,
|
|
386
386
|
data: JSON.stringify(n),
|
|
387
387
|
type: "json",
|
|
388
388
|
onComplete(d) {
|
|
@@ -393,9 +393,9 @@ function Ne(e, t, n, s = void 0, a = void 0) {
|
|
|
393
393
|
}
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function ke(e, t, n = void 0, s = void 0) {
|
|
397
397
|
const { space: a } = e, o = `${a}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
|
|
398
|
-
|
|
398
|
+
m(o, {
|
|
399
399
|
opts: {
|
|
400
400
|
method: "GET",
|
|
401
401
|
headers: {
|
|
@@ -411,10 +411,10 @@ function ve(e, t, n = void 0, s = void 0) {
|
|
|
411
411
|
}
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
|
-
async function
|
|
414
|
+
async function W(e, t, n) {
|
|
415
415
|
if (e.space) {
|
|
416
416
|
const s = `${e.space}/resources/v1/application/CSRF`;
|
|
417
|
-
|
|
417
|
+
m(s, {
|
|
418
418
|
onComplete(a) {
|
|
419
419
|
a = JSON.parse(a), t && t(a.csrf);
|
|
420
420
|
},
|
|
@@ -424,14 +424,55 @@ async function K(e, t, n) {
|
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
|
|
427
|
+
var I = {};
|
|
428
|
+
function B(e, t) {
|
|
429
|
+
return Object.prototype.hasOwnProperty.call(e, t);
|
|
430
|
+
}
|
|
431
|
+
var X = function(e, t, n, s) {
|
|
432
|
+
t = t || "&", n = n || "=";
|
|
433
|
+
var a = {};
|
|
434
|
+
if (typeof e != "string" || e.length === 0)
|
|
435
|
+
return a;
|
|
436
|
+
var r = /\+/g;
|
|
437
|
+
e = e.split(t);
|
|
438
|
+
var o = 1e3;
|
|
439
|
+
s && typeof s.maxKeys == "number" && (o = s.maxKeys);
|
|
440
|
+
var i = e.length;
|
|
441
|
+
o > 0 && i > o && (i = o);
|
|
442
|
+
for (var c = 0; c < i; ++c) {
|
|
443
|
+
var d = e[c].replace(r, "%20"), p = d.indexOf(n), l, u, f, g;
|
|
444
|
+
p >= 0 ? (l = d.substr(0, p), u = d.substr(p + 1)) : (l = d, u = ""), f = decodeURIComponent(l), g = decodeURIComponent(u), B(a, f) ? Array.isArray(a[f]) ? a[f].push(g) : a[f] = [a[f], g] : a[f] = g;
|
|
445
|
+
}
|
|
446
|
+
return a;
|
|
447
|
+
}, N = function(e) {
|
|
448
|
+
switch (typeof e) {
|
|
449
|
+
case "string":
|
|
450
|
+
return e;
|
|
451
|
+
case "boolean":
|
|
452
|
+
return e ? "true" : "false";
|
|
453
|
+
case "number":
|
|
454
|
+
return isFinite(e) ? e : "";
|
|
455
|
+
default:
|
|
456
|
+
return "";
|
|
457
|
+
}
|
|
458
|
+
}, Y = function(e, t, n, s) {
|
|
459
|
+
return t = t || "&", n = n || "=", e === null && (e = void 0), typeof e == "object" ? Object.keys(e).map(function(a) {
|
|
460
|
+
var r = encodeURIComponent(N(a)) + n;
|
|
461
|
+
return Array.isArray(e[a]) ? e[a].map(function(o) {
|
|
462
|
+
return r + encodeURIComponent(N(o));
|
|
463
|
+
}).join(t) : r + encodeURIComponent(N(e[a]));
|
|
464
|
+
}).filter(Boolean).join(t) : s ? encodeURIComponent(N(s)) + n + encodeURIComponent(N(e)) : "";
|
|
465
|
+
};
|
|
466
|
+
I.decode = I.parse = X;
|
|
467
|
+
I.encode = I.stringify = Y;
|
|
468
|
+
async function H(e, t = void 0, n = void 0, s = void 0) {
|
|
428
469
|
const a = e.space;
|
|
429
470
|
if (t === void 0) {
|
|
430
471
|
console.log("Le paramètre docid est obligatoire");
|
|
431
472
|
return;
|
|
432
473
|
}
|
|
433
474
|
const r = a + `/resources/v1/modeler/documents/${t}`;
|
|
434
|
-
|
|
475
|
+
m(r, {
|
|
435
476
|
onComplete(o, i, c) {
|
|
436
477
|
const d = JSON.parse(o);
|
|
437
478
|
n && n(d);
|
|
@@ -441,32 +482,34 @@ async function V(e, t = void 0, n = void 0, s = void 0) {
|
|
|
441
482
|
}
|
|
442
483
|
});
|
|
443
484
|
}
|
|
444
|
-
async function
|
|
485
|
+
async function Fe(e, t = void 0, n = void 0, s = void 0) {
|
|
445
486
|
const a = e.space;
|
|
446
487
|
if (t === void 0) {
|
|
447
|
-
console.log("Le paramètre
|
|
488
|
+
console.log("Le paramètre docids est obligatoire");
|
|
448
489
|
return;
|
|
449
490
|
}
|
|
450
|
-
|
|
451
|
-
|
|
491
|
+
let r = `${a}/resources/v1/modeler/documents/ids?$include=!files,!ownerInfo,!originatorInfo,!relOwnerInfo'`, o = I.stringify({
|
|
492
|
+
$ids: t.toString().replace('"', "").replace("[", "").replace("]", "")
|
|
493
|
+
});
|
|
494
|
+
m(r, {
|
|
452
495
|
method: "POST",
|
|
453
496
|
headers: {
|
|
454
497
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
455
498
|
},
|
|
456
|
-
data:
|
|
457
|
-
onComplete(
|
|
458
|
-
const
|
|
459
|
-
n && n(
|
|
499
|
+
data: o,
|
|
500
|
+
onComplete(i, c, d) {
|
|
501
|
+
const p = JSON.parse(i);
|
|
502
|
+
n && n(p);
|
|
460
503
|
},
|
|
461
|
-
onFailure(
|
|
462
|
-
s && s(
|
|
504
|
+
onFailure(i) {
|
|
505
|
+
s && s(i);
|
|
463
506
|
}
|
|
464
507
|
});
|
|
465
508
|
}
|
|
466
|
-
function
|
|
509
|
+
function A(e, t = void 0, n = void 0) {
|
|
467
510
|
if (e.objID && e.objID !== "") {
|
|
468
511
|
let s = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
|
|
469
|
-
|
|
512
|
+
m(s, {
|
|
470
513
|
onComplete(a, r, o) {
|
|
471
514
|
const i = JSON.parse(a);
|
|
472
515
|
e.token = i?.csrf?.value, e.datas = i?.data[0], t && t(e);
|
|
@@ -489,7 +532,7 @@ function $(e, t = void 0, n = void 0) {
|
|
|
489
532
|
function T(e, t = void 0, n = void 0) {
|
|
490
533
|
if (e.space) {
|
|
491
534
|
const s = e.space + "/resources/v1/application/CSRF";
|
|
492
|
-
|
|
535
|
+
m(s, {
|
|
493
536
|
onComplete(a, r, o) {
|
|
494
537
|
const i = JSON.parse(a);
|
|
495
538
|
t && t(i.csrf.value);
|
|
@@ -505,12 +548,12 @@ function T(e, t = void 0, n = void 0) {
|
|
|
505
548
|
} else
|
|
506
549
|
n && n("ERROR : url du 3DSpace non défini.");
|
|
507
550
|
}
|
|
508
|
-
function
|
|
551
|
+
function F(e, t = void 0, n = void 0) {
|
|
509
552
|
let s = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
|
|
510
|
-
|
|
553
|
+
A(
|
|
511
554
|
e,
|
|
512
555
|
(a) => {
|
|
513
|
-
|
|
556
|
+
m(s, {
|
|
514
557
|
method: "PUT",
|
|
515
558
|
headers: {
|
|
516
559
|
ENO_CSRF_TOKEN: e.token
|
|
@@ -529,9 +572,9 @@ function A(e, t = void 0, n = void 0) {
|
|
|
529
572
|
}
|
|
530
573
|
);
|
|
531
574
|
}
|
|
532
|
-
function
|
|
575
|
+
function je(e, t, n, s = void 0, a = void 0) {
|
|
533
576
|
const r = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
|
|
534
|
-
n || (n = e.token),
|
|
577
|
+
n || (n = e.token), m(r, {
|
|
535
578
|
method: "PUT",
|
|
536
579
|
headers: {
|
|
537
580
|
ENO_CSRF_TOKEN: n
|
|
@@ -551,12 +594,12 @@ function ke(e, t, n, s = void 0, a = void 0) {
|
|
|
551
594
|
}
|
|
552
595
|
});
|
|
553
596
|
}
|
|
554
|
-
function
|
|
555
|
-
|
|
597
|
+
function z(e, t, n, s, a, r = void 0, o = void 0) {
|
|
598
|
+
A(
|
|
556
599
|
e,
|
|
557
600
|
t,
|
|
558
601
|
(i) => {
|
|
559
|
-
|
|
602
|
+
q(
|
|
560
603
|
e,
|
|
561
604
|
t,
|
|
562
605
|
n,
|
|
@@ -569,19 +612,19 @@ function W(e, t, n, s, a, r = void 0, o = void 0) {
|
|
|
569
612
|
}
|
|
570
613
|
);
|
|
571
614
|
}
|
|
572
|
-
function
|
|
615
|
+
function q(e, t, n, s, a, r, o = void 0, i = void 0) {
|
|
573
616
|
const c = e.space + `/resources/v1/modeler/documents/${t}/files/CheckinTicket`;
|
|
574
|
-
|
|
617
|
+
m(c, {
|
|
575
618
|
method: "PUT",
|
|
576
619
|
headers: {
|
|
577
620
|
ENO_CSRF_TOKEN: r
|
|
578
621
|
},
|
|
579
622
|
onComplete(d, p, l) {
|
|
580
|
-
const
|
|
581
|
-
|
|
623
|
+
const u = JSON.parse(d).data[0].dataelements, f = new FormData();
|
|
624
|
+
f.append("__fcs__jobTicket", u.ticket), f.append("file_0", s, a);
|
|
582
625
|
const g = {};
|
|
583
|
-
g.method = "POST", g.data =
|
|
584
|
-
let S = "temp_" + Date.now(),
|
|
626
|
+
g.method = "POST", g.data = f, g.onComplete = function(h) {
|
|
627
|
+
let S = "temp_" + Date.now(), y = {
|
|
585
628
|
method: "PUT",
|
|
586
629
|
headers: {
|
|
587
630
|
ENO_CSRF_TOKEN: r
|
|
@@ -603,24 +646,24 @@ function B(e, t, n, s, a, r, o = void 0, i = void 0) {
|
|
|
603
646
|
}]
|
|
604
647
|
}),
|
|
605
648
|
type: "json",
|
|
606
|
-
onComplete(
|
|
607
|
-
o && o(
|
|
649
|
+
onComplete(_) {
|
|
650
|
+
o && o(_);
|
|
608
651
|
},
|
|
609
|
-
onFailure(
|
|
610
|
-
i && i(
|
|
652
|
+
onFailure(_) {
|
|
653
|
+
i && i(_);
|
|
611
654
|
}
|
|
612
655
|
};
|
|
613
|
-
|
|
656
|
+
m(
|
|
614
657
|
e.space + "/resources/v1/modeler/documents",
|
|
615
|
-
|
|
658
|
+
y
|
|
616
659
|
);
|
|
617
660
|
}, g.onFailure = function(h) {
|
|
618
661
|
i && i(h);
|
|
619
|
-
}, g.timeout = 0, u
|
|
662
|
+
}, g.timeout = 0, m(u.ticketURL, g);
|
|
620
663
|
}
|
|
621
664
|
});
|
|
622
665
|
}
|
|
623
|
-
async function
|
|
666
|
+
async function Re(e, t, n, s, a = void 0, r = void 0) {
|
|
624
667
|
const o = e.space, i = e.token, c = e.ctx, d = new FormData(), p = new Blob([JSON.stringify(t)], {
|
|
625
668
|
type: "text/plain"
|
|
626
669
|
}), l = {
|
|
@@ -631,20 +674,20 @@ async function Ie(e, t, n, s, a = void 0, r = void 0) {
|
|
|
631
674
|
console.log("le store._3DSpace est vide");
|
|
632
675
|
return;
|
|
633
676
|
}
|
|
634
|
-
|
|
677
|
+
m(l.url_Ticket, {
|
|
635
678
|
method: "PUT",
|
|
636
679
|
headers: {
|
|
637
680
|
ENO_CSRF_TOKEN: i.value
|
|
638
681
|
},
|
|
639
|
-
onComplete(
|
|
640
|
-
const h = JSON.parse(
|
|
682
|
+
onComplete(u, f, g) {
|
|
683
|
+
const h = JSON.parse(u).data[0].dataelements;
|
|
641
684
|
d.append("__fcs__jobTicket", h.ticket), d.append("filename", p, n);
|
|
642
685
|
const S = {
|
|
643
686
|
method: "POST",
|
|
644
687
|
data: d,
|
|
645
688
|
onComplete(C) {
|
|
646
689
|
if (c !== "" && i !== "") {
|
|
647
|
-
const
|
|
690
|
+
const U = {
|
|
648
691
|
method: "POST",
|
|
649
692
|
headers: {
|
|
650
693
|
ENO_CSRF_TOKEN: i,
|
|
@@ -667,71 +710,71 @@ async function Ie(e, t, n, s, a = void 0, r = void 0) {
|
|
|
667
710
|
}
|
|
668
711
|
}]
|
|
669
712
|
},
|
|
670
|
-
tempId:
|
|
713
|
+
tempId: P()
|
|
671
714
|
}]
|
|
672
715
|
}),
|
|
673
716
|
type: "json",
|
|
674
717
|
timeout: 0,
|
|
675
|
-
onComplete:
|
|
676
|
-
onFailure:
|
|
718
|
+
onComplete: y,
|
|
719
|
+
onFailure: _
|
|
677
720
|
};
|
|
678
|
-
c !== "" &&
|
|
721
|
+
c !== "" && m(l.url_Post, U);
|
|
679
722
|
} else
|
|
680
723
|
console.warn("le store est vide");
|
|
681
724
|
},
|
|
682
|
-
onFailure:
|
|
725
|
+
onFailure: _
|
|
683
726
|
};
|
|
684
|
-
function
|
|
727
|
+
function y(C) {
|
|
685
728
|
console.log("Success -- response ", C.data[0]), a && a(C);
|
|
686
729
|
}
|
|
687
|
-
function
|
|
730
|
+
function _(C, U) {
|
|
688
731
|
console.log("Erreur -- response ", C, `
|
|
689
|
-
headers `,
|
|
732
|
+
headers `, U), r && r(C);
|
|
690
733
|
}
|
|
691
|
-
|
|
734
|
+
m(h.ticketURL, S);
|
|
692
735
|
}
|
|
693
736
|
});
|
|
694
737
|
}
|
|
695
738
|
function b(e, t = void 0, n = void 0, s = void 0, a = void 0, r = void 0, o = !1) {
|
|
696
739
|
const i = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
|
|
697
|
-
|
|
740
|
+
m(i, {
|
|
698
741
|
method: "GET",
|
|
699
742
|
onComplete(c) {
|
|
700
743
|
const d = JSON.parse(c);
|
|
701
|
-
let p = "", l,
|
|
744
|
+
let p = "", l, u, f;
|
|
702
745
|
if (t) {
|
|
703
746
|
let g = d.collabspaces.find((h) => h.title === t);
|
|
704
747
|
if (g) {
|
|
705
748
|
l = t;
|
|
706
749
|
let h = g.couples;
|
|
707
750
|
h = h.filter(
|
|
708
|
-
(S,
|
|
751
|
+
(S, y, _) => y === _.findIndex(
|
|
709
752
|
(C) => C.organization.pid === S.organization.pid && C.role.pid === S.role.pid
|
|
710
753
|
)
|
|
711
754
|
), n && (Array.isArray(n) ? n.forEach((S) => {
|
|
712
|
-
|
|
713
|
-
if (S ===
|
|
714
|
-
|
|
715
|
-
else if (S ===
|
|
716
|
-
let
|
|
755
|
+
f || h.forEach((y) => {
|
|
756
|
+
if (S === y.role.name && s === y.organization.title)
|
|
757
|
+
f = S, u = s;
|
|
758
|
+
else if (S === y.role.name) {
|
|
759
|
+
let _ = h.filter(
|
|
717
760
|
(C) => C.role.name === S
|
|
718
761
|
);
|
|
719
|
-
|
|
762
|
+
_.length === 1 ? (f = _[0].role.name, u = _[0].organization.title) : r(_);
|
|
720
763
|
}
|
|
721
764
|
});
|
|
722
765
|
}) : h.forEach((S) => {
|
|
723
766
|
if (n === S.role.name && s === S.organization.title)
|
|
724
|
-
|
|
767
|
+
f = n, u = s;
|
|
725
768
|
else if (n === S.role.name) {
|
|
726
|
-
let
|
|
727
|
-
(
|
|
769
|
+
let y = h.filter(
|
|
770
|
+
(_) => _.role.name === n
|
|
728
771
|
);
|
|
729
|
-
|
|
772
|
+
y.length === 1 ? (f = y[0].role.name, u = y[0].organization.title) : r(y);
|
|
730
773
|
}
|
|
731
774
|
}));
|
|
732
775
|
}
|
|
733
776
|
}
|
|
734
|
-
l &&
|
|
777
|
+
l && u && f ? (p = f + "." + u + "." + l, a(p)) : d.preferredcredentials && o ? (p = d.preferredcredentials.role.name + "." + d.preferredcredentials.organization.title + "." + d.preferredcredentials.collabspace.title, a(p)) : r && (p = f + "." + u + "." + l, r(p));
|
|
735
778
|
},
|
|
736
779
|
onFailure(c, d) {
|
|
737
780
|
console.log("Erreur de récupération du contexte de sécurité. => ", {
|
|
@@ -741,12 +784,12 @@ function b(e, t = void 0, n = void 0, s = void 0, a = void 0, r = void 0, o = !1
|
|
|
741
784
|
}
|
|
742
785
|
});
|
|
743
786
|
}
|
|
744
|
-
async function
|
|
787
|
+
async function x(e, t = void 0, n = void 0) {
|
|
745
788
|
return (!e.objID || e.objID === "") && console.warn(
|
|
746
789
|
"_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
|
|
747
790
|
), (e.space === "" || !e.space) && console.warn(
|
|
748
791
|
"_3DSpace_download_doc() / Le paramètre space est obligatoire"
|
|
749
|
-
), (e.token === "" || !e.token) &&
|
|
792
|
+
), (e.token === "" || !e.token) && W(
|
|
750
793
|
e,
|
|
751
794
|
(s) => {
|
|
752
795
|
e.token = s;
|
|
@@ -755,10 +798,10 @@ async function P(e, t = void 0, n = void 0) {
|
|
|
755
798
|
console.log("☠️ error => ", s);
|
|
756
799
|
}
|
|
757
800
|
), new Promise((s, a) => {
|
|
758
|
-
|
|
801
|
+
F(
|
|
759
802
|
e,
|
|
760
803
|
(r) => {
|
|
761
|
-
|
|
804
|
+
m(r, {
|
|
762
805
|
headers: {
|
|
763
806
|
"Content-Type": "application/json",
|
|
764
807
|
Accept: "application/json"
|
|
@@ -791,7 +834,7 @@ async function P(e, t = void 0, n = void 0) {
|
|
|
791
834
|
);
|
|
792
835
|
});
|
|
793
836
|
}
|
|
794
|
-
async function
|
|
837
|
+
async function Q(e, t, n = void 0, s = void 0) {
|
|
795
838
|
let a = [];
|
|
796
839
|
if (typeof t < "u" && Array.isArray(t) && t?.length > 0) {
|
|
797
840
|
for (let i = 0; i < t.length; i += 80) {
|
|
@@ -799,7 +842,7 @@ async function X(e, t, n = void 0, s = void 0) {
|
|
|
799
842
|
a.push(c);
|
|
800
843
|
}
|
|
801
844
|
const o = (i) => {
|
|
802
|
-
|
|
845
|
+
Z(
|
|
803
846
|
e,
|
|
804
847
|
a[i],
|
|
805
848
|
() => {
|
|
@@ -818,7 +861,7 @@ async function X(e, t, n = void 0, s = void 0) {
|
|
|
818
861
|
"La liste d'objects dans la fonction _3DSpace_download_multidoc est vide ou non défini."
|
|
819
862
|
);
|
|
820
863
|
}
|
|
821
|
-
function
|
|
864
|
+
function Z(e, t, n = void 0, s = void 0, a = void 0) {
|
|
822
865
|
const r = [];
|
|
823
866
|
t.forEach((c) => {
|
|
824
867
|
r.push({
|
|
@@ -833,7 +876,7 @@ function Y(e, t, n = void 0, s = void 0, a = void 0) {
|
|
|
833
876
|
data: r
|
|
834
877
|
});
|
|
835
878
|
const i = `${e.space}/resources/v1/modeler/documents/DownloadTicket?tenant=${e.tenant}&e6w-lang=fr&e6w-timezone=-120`;
|
|
836
|
-
|
|
879
|
+
m(i, {
|
|
837
880
|
method: "PUT",
|
|
838
881
|
data: o,
|
|
839
882
|
type: "json",
|
|
@@ -841,17 +884,17 @@ function Y(e, t, n = void 0, s = void 0, a = void 0) {
|
|
|
841
884
|
const d = c.data;
|
|
842
885
|
c.success === !0 && (n && n(), d.forEach((p) => {
|
|
843
886
|
try {
|
|
844
|
-
const l = p.dataelements.fileName,
|
|
845
|
-
u
|
|
846
|
-
onComplete: (
|
|
887
|
+
const l = p.dataelements.fileName, u = p.dataelements.ticketURL;
|
|
888
|
+
m(u, {
|
|
889
|
+
onComplete: (f) => {
|
|
847
890
|
s && s({
|
|
848
891
|
objectId: p.id,
|
|
849
892
|
fileName: l,
|
|
850
|
-
data: JSON.parse(
|
|
893
|
+
data: JSON.parse(f)
|
|
851
894
|
});
|
|
852
895
|
},
|
|
853
|
-
onFailure: (
|
|
854
|
-
console.log("error http",
|
|
896
|
+
onFailure: (f) => {
|
|
897
|
+
console.log("error http", f);
|
|
855
898
|
}
|
|
856
899
|
});
|
|
857
900
|
} catch (l) {
|
|
@@ -864,7 +907,7 @@ function Y(e, t, n = void 0, s = void 0, a = void 0) {
|
|
|
864
907
|
}
|
|
865
908
|
});
|
|
866
909
|
}
|
|
867
|
-
function
|
|
910
|
+
function De(e, t, n = void 0, s = void 0) {
|
|
868
911
|
return new Promise((a) => {
|
|
869
912
|
if (e.token === "" && T(e), t !== void 0 && t !== "" && t !== null) {
|
|
870
913
|
const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
|
|
@@ -899,11 +942,11 @@ function Ae(e, t, n = void 0, s = void 0) {
|
|
|
899
942
|
s && s(i);
|
|
900
943
|
}
|
|
901
944
|
};
|
|
902
|
-
|
|
945
|
+
m(r, o);
|
|
903
946
|
}
|
|
904
947
|
});
|
|
905
948
|
}
|
|
906
|
-
function
|
|
949
|
+
function Pe(e, t, n, s = void 0, a = void 0) {
|
|
907
950
|
return new Promise((r) => {
|
|
908
951
|
if (e.token === "" && T(e), t !== void 0 && t !== "" && t !== null) {
|
|
909
952
|
const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
|
|
@@ -939,11 +982,11 @@ function Fe(e, t, n, s = void 0, a = void 0) {
|
|
|
939
982
|
a && a(c);
|
|
940
983
|
}
|
|
941
984
|
};
|
|
942
|
-
|
|
985
|
+
m(o, i);
|
|
943
986
|
}
|
|
944
987
|
});
|
|
945
988
|
}
|
|
946
|
-
function
|
|
989
|
+
function xe(e, t, n = void 0, s = void 0) {
|
|
947
990
|
return new Promise((a) => {
|
|
948
991
|
if (e.token === "" && T(e), t !== void 0 && t !== "" && t !== null) {
|
|
949
992
|
const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
|
|
@@ -978,11 +1021,11 @@ function je(e, t, n = void 0, s = void 0) {
|
|
|
978
1021
|
s && s(i);
|
|
979
1022
|
}
|
|
980
1023
|
};
|
|
981
|
-
|
|
1024
|
+
m(r, o);
|
|
982
1025
|
}
|
|
983
1026
|
});
|
|
984
1027
|
}
|
|
985
|
-
function
|
|
1028
|
+
function Me(e, t, n = void 0, s = void 0) {
|
|
986
1029
|
return new Promise((a) => {
|
|
987
1030
|
if (e.token === "" && T(e), t !== void 0 && t !== "" && t !== null) {
|
|
988
1031
|
const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
|
|
@@ -1023,11 +1066,11 @@ function Ue(e, t, n = void 0, s = void 0) {
|
|
|
1023
1066
|
s && s(i);
|
|
1024
1067
|
}
|
|
1025
1068
|
};
|
|
1026
|
-
|
|
1069
|
+
m(r, o);
|
|
1027
1070
|
}
|
|
1028
1071
|
});
|
|
1029
1072
|
}
|
|
1030
|
-
function
|
|
1073
|
+
function Le(e, t, n, s = void 0, a = void 0) {
|
|
1031
1074
|
return new Promise((r) => {
|
|
1032
1075
|
if (e.token === "" && T(e), t !== void 0 && t !== "" && t !== null) {
|
|
1033
1076
|
const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
|
|
@@ -1068,11 +1111,11 @@ function De(e, t, n, s = void 0, a = void 0) {
|
|
|
1068
1111
|
a && a(c);
|
|
1069
1112
|
}
|
|
1070
1113
|
};
|
|
1071
|
-
|
|
1114
|
+
m(o, i);
|
|
1072
1115
|
}
|
|
1073
1116
|
});
|
|
1074
1117
|
}
|
|
1075
|
-
function
|
|
1118
|
+
function Je(e, t, n, s, a = void 0, r = void 0) {
|
|
1076
1119
|
return new Promise((o) => {
|
|
1077
1120
|
const i = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
|
|
1078
1121
|
let c = {
|
|
@@ -1102,10 +1145,10 @@ function Pe(e, t, n, s, a = void 0, r = void 0) {
|
|
|
1102
1145
|
r && r(l);
|
|
1103
1146
|
}
|
|
1104
1147
|
};
|
|
1105
|
-
|
|
1148
|
+
m(i, p);
|
|
1106
1149
|
});
|
|
1107
1150
|
}
|
|
1108
|
-
function
|
|
1151
|
+
function Ee(e, t, n, s, a = void 0, r = void 0) {
|
|
1109
1152
|
return console.log("credentials", e), new Promise((o) => {
|
|
1110
1153
|
`${e.space}`, JSON.stringify({
|
|
1111
1154
|
csrf: {
|
|
@@ -1127,13 +1170,13 @@ function Re(e, t, n, s, a = void 0, r = void 0) {
|
|
|
1127
1170
|
});
|
|
1128
1171
|
}
|
|
1129
1172
|
//!SECTION
|
|
1130
|
-
function
|
|
1173
|
+
function Ge(e, t = void 0, n = void 0) {
|
|
1131
1174
|
const s = {
|
|
1132
1175
|
base: `${e.space}`,
|
|
1133
1176
|
uri: "/resources/bps/cspaces",
|
|
1134
1177
|
optTenant: `tenant=${e.tenant}`
|
|
1135
1178
|
}, a = `${s.base}${s.uri}?${s.optTenant}`;
|
|
1136
|
-
|
|
1179
|
+
m(a, {
|
|
1137
1180
|
method: "GET",
|
|
1138
1181
|
headers: {
|
|
1139
1182
|
Accept: "application/json,text/javascript,*/*",
|
|
@@ -1148,12 +1191,12 @@ function xe(e, t = void 0, n = void 0) {
|
|
|
1148
1191
|
}
|
|
1149
1192
|
});
|
|
1150
1193
|
}
|
|
1151
|
-
function
|
|
1152
|
-
|
|
1194
|
+
function Ke(e, t, n, s) {
|
|
1195
|
+
F(
|
|
1153
1196
|
e.space,
|
|
1154
1197
|
t,
|
|
1155
1198
|
(a) => {
|
|
1156
|
-
|
|
1199
|
+
m(a, {
|
|
1157
1200
|
header: { ENO_CSRF_TOKEN: e.token },
|
|
1158
1201
|
onComplete: (r) => {
|
|
1159
1202
|
n && n(r);
|
|
@@ -1165,10 +1208,10 @@ function Me(e, t, n, s) {
|
|
|
1165
1208
|
}
|
|
1166
1209
|
);
|
|
1167
1210
|
}
|
|
1168
|
-
async function
|
|
1211
|
+
async function Ve(e, t, n = void 0, s = void 0) {
|
|
1169
1212
|
return new Promise((a) => {
|
|
1170
|
-
|
|
1171
|
-
|
|
1213
|
+
F(e, t, (r) => {
|
|
1214
|
+
m(r, {
|
|
1172
1215
|
onComplete: (o, i, c) => (a(JSON.parse(o)), n && n(JSON.parse(o), i, c), a),
|
|
1173
1216
|
onFailure: (o, i, c) => {
|
|
1174
1217
|
s && s(o, i, c), console.log(o, i?.errormsg);
|
|
@@ -1177,14 +1220,14 @@ async function Le(e, t, n = void 0, s = void 0) {
|
|
|
1177
1220
|
});
|
|
1178
1221
|
});
|
|
1179
1222
|
}
|
|
1180
|
-
function
|
|
1223
|
+
function We(e, t, n, s = void 0, a = void 0) {
|
|
1181
1224
|
const r = new Blob([JSON.stringify(t)], { type: "text/plain" });
|
|
1182
|
-
|
|
1225
|
+
A(
|
|
1183
1226
|
e,
|
|
1184
1227
|
n,
|
|
1185
1228
|
(o) => {
|
|
1186
1229
|
const i = o.data[0].relateddata.files[0].id, c = o.data[0].dataelements.secondaryTitle !== "" ? o.data[0].dataelements.secondaryTitle : o.data[0].dataelements.title;
|
|
1187
|
-
|
|
1230
|
+
z(
|
|
1188
1231
|
e,
|
|
1189
1232
|
n,
|
|
1190
1233
|
i,
|
|
@@ -1200,10 +1243,10 @@ function Je(e, t, n, s = void 0, a = void 0) {
|
|
|
1200
1243
|
}
|
|
1201
1244
|
);
|
|
1202
1245
|
}
|
|
1203
|
-
let
|
|
1204
|
-
const
|
|
1205
|
-
async function
|
|
1206
|
-
e.objID && e.objID !== "" ?
|
|
1246
|
+
let M, L;
|
|
1247
|
+
const j = [];
|
|
1248
|
+
async function Be(e, t = void 0, n = void 0) {
|
|
1249
|
+
e.objID && e.objID !== "" ? A(
|
|
1207
1250
|
e,
|
|
1208
1251
|
(s) => {
|
|
1209
1252
|
t && t(s);
|
|
@@ -1221,8 +1264,8 @@ async function Ee(e, t = void 0, n = void 0) {
|
|
|
1221
1264
|
}
|
|
1222
1265
|
);
|
|
1223
1266
|
}
|
|
1224
|
-
async function
|
|
1225
|
-
console.log("getDatasByTenant (getDocuments)", e), await
|
|
1267
|
+
async function Xe(e, t = void 0, n = void 0) {
|
|
1268
|
+
console.log("getDatasByTenant (getDocuments)", e), await x(
|
|
1226
1269
|
e,
|
|
1227
1270
|
(s) => {
|
|
1228
1271
|
const a = {};
|
|
@@ -1233,56 +1276,56 @@ async function Ge(e, t = void 0, n = void 0) {
|
|
|
1233
1276
|
}
|
|
1234
1277
|
);
|
|
1235
1278
|
}
|
|
1236
|
-
function
|
|
1279
|
+
function Ye(e, t = void 0, n = void 0) {
|
|
1237
1280
|
const s = [];
|
|
1238
1281
|
if (!e.objIds && !Array.isArray(e.objIds) && e.objIds.length === 0) {
|
|
1239
1282
|
console.warn("la liste est vide ou n'est pas un tableau");
|
|
1240
1283
|
return;
|
|
1241
1284
|
}
|
|
1242
1285
|
e.objIds.forEach((a, r) => {
|
|
1243
|
-
|
|
1286
|
+
x(
|
|
1244
1287
|
e,
|
|
1245
1288
|
a.objID,
|
|
1246
1289
|
(o) => {
|
|
1247
|
-
s.push({ [a.name]: o }), a.name === "dbProjets" && (
|
|
1290
|
+
s.push({ [a.name]: o }), a.name === "dbProjets" && (M = o.affaires.map((i) => i.objectID), ee(e, L)), r === e.objIds.length - 1 && (t && t(s), delete e.objIds, delete e.datas);
|
|
1248
1291
|
}
|
|
1249
1292
|
);
|
|
1250
1293
|
});
|
|
1251
1294
|
}
|
|
1252
|
-
function
|
|
1253
|
-
|
|
1295
|
+
function ee(e, t, n = void 0, s = void 0) {
|
|
1296
|
+
Q(
|
|
1254
1297
|
e,
|
|
1255
|
-
|
|
1298
|
+
M,
|
|
1256
1299
|
(a) => {
|
|
1257
1300
|
const r = [...t];
|
|
1258
|
-
r.find((o) => o.objectID === a.objectId).data = a.data,
|
|
1301
|
+
r.find((o) => o.objectID === a.objectId).data = a.data, L = r, j.push(a.data), n && n(j);
|
|
1259
1302
|
},
|
|
1260
1303
|
(a) => {
|
|
1261
1304
|
s && (s(a), console.log(a));
|
|
1262
1305
|
}
|
|
1263
1306
|
);
|
|
1264
1307
|
}
|
|
1265
|
-
const
|
|
1308
|
+
const te = "FA35FB9B177A280065800EA0000F599C", ne = [
|
|
1266
1309
|
"swym",
|
|
1267
1310
|
"3dspace",
|
|
1268
1311
|
"drive",
|
|
1269
1312
|
"usersgroup",
|
|
1270
1313
|
"3dplan",
|
|
1271
1314
|
"dashboard"
|
|
1272
|
-
],
|
|
1315
|
+
], J = {
|
|
1273
1316
|
how: "ds6w:how",
|
|
1274
1317
|
what: "ds6w:what",
|
|
1275
1318
|
when: "ds6w:when",
|
|
1276
1319
|
where: "ds6w:where",
|
|
1277
1320
|
who: "ds6w:who",
|
|
1278
1321
|
why: "ds6w:why"
|
|
1279
|
-
},
|
|
1280
|
-
objId:
|
|
1322
|
+
}, se = {
|
|
1323
|
+
objId: te,
|
|
1281
1324
|
pred: "who",
|
|
1282
1325
|
order_by: "desc",
|
|
1283
1326
|
tag: "testTag"
|
|
1284
1327
|
};
|
|
1285
|
-
function
|
|
1328
|
+
function He(e, t, n = void 0, s = void 0) {
|
|
1286
1329
|
const { space: a, tenant: r } = e, { objId: o, pred: i, tag: c } = t, d = {
|
|
1287
1330
|
uri: "/resources/6w/tags",
|
|
1288
1331
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1295,37 +1338,37 @@ function Ve(e, t, n = void 0, s = void 0) {
|
|
|
1295
1338
|
uri: `pid://${o}`
|
|
1296
1339
|
}
|
|
1297
1340
|
],
|
|
1298
|
-
predicate:
|
|
1341
|
+
predicate: J[i],
|
|
1299
1342
|
object: {
|
|
1300
1343
|
literal: c
|
|
1301
1344
|
}
|
|
1302
1345
|
}
|
|
1303
1346
|
]
|
|
1304
1347
|
};
|
|
1305
|
-
|
|
1348
|
+
m(p, {
|
|
1306
1349
|
method: "PUT",
|
|
1307
1350
|
headers: {
|
|
1308
1351
|
"Content-Type": "application/json",
|
|
1309
1352
|
Accept: "application/json"
|
|
1310
1353
|
},
|
|
1311
1354
|
data: JSON.stringify(l),
|
|
1312
|
-
onComplete(
|
|
1313
|
-
JSON.parse(
|
|
1314
|
-
const
|
|
1355
|
+
onComplete(u) {
|
|
1356
|
+
JSON.parse(u);
|
|
1357
|
+
const f = {};
|
|
1315
1358
|
setTimeout(() => {
|
|
1316
|
-
|
|
1359
|
+
H(
|
|
1317
1360
|
e,
|
|
1318
1361
|
o,
|
|
1319
1362
|
(g) => {
|
|
1320
|
-
const h = g.data[0].dataelements.title, S = g.data[0].dataelements.fileExtension !== void 0 ? g.data[0].dataelements.fileExtension : "",
|
|
1321
|
-
|
|
1363
|
+
const h = g.data[0].dataelements.title, S = g.data[0].dataelements.fileExtension !== void 0 ? g.data[0].dataelements.fileExtension : "", y = g.data[0].relateddata.ownerInfo[0].dataelements.name;
|
|
1364
|
+
f.name = h, f.ext = S, f.createBy = y, t.info = { ...f }, ie(
|
|
1322
1365
|
e,
|
|
1323
1366
|
t,
|
|
1324
|
-
(
|
|
1325
|
-
n && n(
|
|
1367
|
+
(_) => {
|
|
1368
|
+
n && n(_);
|
|
1326
1369
|
},
|
|
1327
|
-
(
|
|
1328
|
-
s && s(
|
|
1370
|
+
(_) => {
|
|
1371
|
+
s && s(_);
|
|
1329
1372
|
}
|
|
1330
1373
|
);
|
|
1331
1374
|
},
|
|
@@ -1336,13 +1379,13 @@ function Ve(e, t, n = void 0, s = void 0) {
|
|
|
1336
1379
|
);
|
|
1337
1380
|
}, 2e3);
|
|
1338
1381
|
},
|
|
1339
|
-
onFailure(
|
|
1340
|
-
const g =
|
|
1341
|
-
g.msg =
|
|
1382
|
+
onFailure(u, f) {
|
|
1383
|
+
const g = u;
|
|
1384
|
+
g.msg = f.errormsg, g.errCode = f.errorcode, console.log("❌ sendDirectMessage => ", g), s && s(g);
|
|
1342
1385
|
}
|
|
1343
1386
|
});
|
|
1344
1387
|
}
|
|
1345
|
-
function
|
|
1388
|
+
function ie(e, t, n = void 0, s = void 0) {
|
|
1346
1389
|
console.log("obj ", t);
|
|
1347
1390
|
const a = t.info.name, r = {
|
|
1348
1391
|
baseUrl: `https://${e.tenant.toLowerCase()}-eu1-fedsearch.3dexperience.3ds.com`,
|
|
@@ -1350,7 +1393,7 @@ function Z(e, t, n = void 0, s = void 0) {
|
|
|
1350
1393
|
}, o = `${r.baseUrl}${r.uri}`, i = {
|
|
1351
1394
|
"Content-Type": "application/json",
|
|
1352
1395
|
Accept: "application/json,text/javascript,*/*"
|
|
1353
|
-
}, c =
|
|
1396
|
+
}, c = P(), d = {
|
|
1354
1397
|
with_indexing_date: !0,
|
|
1355
1398
|
with_synthesis: !0,
|
|
1356
1399
|
with_nls: !1,
|
|
@@ -1392,7 +1435,7 @@ function Z(e, t, n = void 0, s = void 0) {
|
|
|
1392
1435
|
}
|
|
1393
1436
|
},
|
|
1394
1437
|
select_exclude_synthesis: ["ds6w:what/ds6w:topic"],
|
|
1395
|
-
order_by:
|
|
1438
|
+
order_by: se.order_by,
|
|
1396
1439
|
order_field: "relevance",
|
|
1397
1440
|
select_snippets: [
|
|
1398
1441
|
"ds6w:snippet",
|
|
@@ -1403,7 +1446,7 @@ function Z(e, t, n = void 0, s = void 0) {
|
|
|
1403
1446
|
],
|
|
1404
1447
|
nresults: 40,
|
|
1405
1448
|
start: "0",
|
|
1406
|
-
source:
|
|
1449
|
+
source: ne,
|
|
1407
1450
|
tenant: e.tenant,
|
|
1408
1451
|
login: {
|
|
1409
1452
|
"3dspace": {
|
|
@@ -1411,7 +1454,7 @@ function Z(e, t, n = void 0, s = void 0) {
|
|
|
1411
1454
|
}
|
|
1412
1455
|
}
|
|
1413
1456
|
};
|
|
1414
|
-
console.log("dataPattern => ", d),
|
|
1457
|
+
console.log("dataPattern => ", d), m(o, {
|
|
1415
1458
|
method: "POST",
|
|
1416
1459
|
headers: i,
|
|
1417
1460
|
data: JSON.stringify(d),
|
|
@@ -1420,12 +1463,12 @@ function Z(e, t, n = void 0, s = void 0) {
|
|
|
1420
1463
|
n(l);
|
|
1421
1464
|
},
|
|
1422
1465
|
onFailure(p, l) {
|
|
1423
|
-
const
|
|
1424
|
-
|
|
1466
|
+
const u = p;
|
|
1467
|
+
u.msg = l.errormsg, u.errCode = l.errorcode, console.log("❌ sendDirectMessage => ", u), s && s(u), console.log("Erreur de recuperation d'id du doc et des tags", p);
|
|
1425
1468
|
}
|
|
1426
1469
|
});
|
|
1427
1470
|
}
|
|
1428
|
-
function
|
|
1471
|
+
function ze(e, t, n = void 0, s = void 0) {
|
|
1429
1472
|
const { objId: a, pred: r, tag: o } = t, i = {
|
|
1430
1473
|
uri: "/resources/6w/tags",
|
|
1431
1474
|
otpCTX: "SecurityContext=preferred",
|
|
@@ -1438,14 +1481,14 @@ function We(e, t, n = void 0, s = void 0) {
|
|
|
1438
1481
|
uri: `pid://${a}`
|
|
1439
1482
|
}
|
|
1440
1483
|
],
|
|
1441
|
-
predicate:
|
|
1484
|
+
predicate: J[r],
|
|
1442
1485
|
object: {
|
|
1443
1486
|
literal: o
|
|
1444
1487
|
}
|
|
1445
1488
|
}
|
|
1446
1489
|
]
|
|
1447
1490
|
};
|
|
1448
|
-
|
|
1491
|
+
m(c, {
|
|
1449
1492
|
method: "DELETE",
|
|
1450
1493
|
data: JSON.stringify(d),
|
|
1451
1494
|
headers: {
|
|
@@ -1456,12 +1499,12 @@ function We(e, t, n = void 0, s = void 0) {
|
|
|
1456
1499
|
n && n(p);
|
|
1457
1500
|
},
|
|
1458
1501
|
onFailure(p, l) {
|
|
1459
|
-
const
|
|
1460
|
-
|
|
1502
|
+
const u = p;
|
|
1503
|
+
u.msg = l.errormsg, u.errCode = l.errorcode, console.log("❌ sendDirectMessage => ", u), s && s(u);
|
|
1461
1504
|
}
|
|
1462
1505
|
});
|
|
1463
1506
|
}
|
|
1464
|
-
function
|
|
1507
|
+
function qe(e, t = "", n = void 0, s = void 0) {
|
|
1465
1508
|
const { space: a } = e;
|
|
1466
1509
|
if (t === "")
|
|
1467
1510
|
return;
|
|
@@ -1471,7 +1514,7 @@ function Be(e, t = "", n = void 0, s = void 0) {
|
|
|
1471
1514
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
|
|
1472
1515
|
Accept: "application/json,text/javascript,*/*"
|
|
1473
1516
|
}, i = `${a}${r.uri}`, c = `$include=none,lockerInfo,ownerInfo,originatorInfo,files,ownerInfo,originatorInfo&$fields=none,title,name,typeNLS,collabSpaceTitle,revision,isLatestRevision,files,lockStatus,lockerInfo.name,lockerInfo.firstname,lockerInfo.lastname,owner,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,stateNLS,modified,policy,state,organizationTitle,originator,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname,hasModifyAccess,fileExtension,files.name,files.title,files.revision,files.locker,ownerInfo,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,originatorInfo,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname&$ids=${t}`;
|
|
1474
|
-
|
|
1517
|
+
m(i, {
|
|
1475
1518
|
method: "POST",
|
|
1476
1519
|
headers: o,
|
|
1477
1520
|
data: c,
|
|
@@ -1486,7 +1529,7 @@ function Be(e, t = "", n = void 0, s = void 0) {
|
|
|
1486
1529
|
}
|
|
1487
1530
|
async function w(e, t = void 0, n = void 0) {
|
|
1488
1531
|
const s = e.space + "/api/index/tk";
|
|
1489
|
-
return
|
|
1532
|
+
return m(s, {
|
|
1490
1533
|
onComplete(a, r, o) {
|
|
1491
1534
|
const i = JSON.parse(a);
|
|
1492
1535
|
if (t)
|
|
@@ -1497,7 +1540,7 @@ async function w(e, t = void 0, n = void 0) {
|
|
|
1497
1540
|
}
|
|
1498
1541
|
});
|
|
1499
1542
|
}
|
|
1500
|
-
function
|
|
1543
|
+
function Qe(e, t = void 0, n = void 0) {
|
|
1501
1544
|
const s = `${e.space}/api/exalead/whatsnew`, a = {
|
|
1502
1545
|
params: {
|
|
1503
1546
|
community_id: null,
|
|
@@ -1509,7 +1552,7 @@ function Xe(e, t = void 0, n = void 0) {
|
|
|
1509
1552
|
}
|
|
1510
1553
|
};
|
|
1511
1554
|
w(e, (r) => {
|
|
1512
|
-
|
|
1555
|
+
m(s, {
|
|
1513
1556
|
method: "POST",
|
|
1514
1557
|
headers: {
|
|
1515
1558
|
"X-DS-SWYM-CSRFTOKEN": r.result.ServerToken,
|
|
@@ -1527,7 +1570,7 @@ function Xe(e, t = void 0, n = void 0) {
|
|
|
1527
1570
|
});
|
|
1528
1571
|
});
|
|
1529
1572
|
}
|
|
1530
|
-
function
|
|
1573
|
+
function Ze(e, t = void 0, n = void 0) {
|
|
1531
1574
|
const s = `${e.space}/api/Recommendation/getpeoplefamiliartocurrentuser`, a = {
|
|
1532
1575
|
params: {
|
|
1533
1576
|
idsToFilterArr: [],
|
|
@@ -1538,7 +1581,7 @@ function Ye(e, t = void 0, n = void 0) {
|
|
|
1538
1581
|
}
|
|
1539
1582
|
};
|
|
1540
1583
|
w(e, (r) => {
|
|
1541
|
-
|
|
1584
|
+
m(s, {
|
|
1542
1585
|
method: "POST",
|
|
1543
1586
|
headers: {
|
|
1544
1587
|
"X-DS-SWYM-CSRFTOKEN": r.result.ServerToken,
|
|
@@ -1557,7 +1600,7 @@ function Ye(e, t = void 0, n = void 0) {
|
|
|
1557
1600
|
});
|
|
1558
1601
|
});
|
|
1559
1602
|
}
|
|
1560
|
-
function
|
|
1603
|
+
function et(e, t = void 0, n = void 0) {
|
|
1561
1604
|
const s = {
|
|
1562
1605
|
base: e.space,
|
|
1563
1606
|
uri: "/api/community/listmycommunities",
|
|
@@ -1565,28 +1608,28 @@ function qe(e, t = void 0, n = void 0) {
|
|
|
1565
1608
|
page: `/page/${e.page ? e.page : "1"}`
|
|
1566
1609
|
}, a = `${s.base}${s.uri}${s.limit}${s.page}`, r = [];
|
|
1567
1610
|
w(e, (o) => {
|
|
1568
|
-
|
|
1611
|
+
m(a, {
|
|
1569
1612
|
method: "GET",
|
|
1570
1613
|
headers: {
|
|
1571
1614
|
"X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
|
|
1572
1615
|
},
|
|
1573
1616
|
onComplete(i, c, d) {
|
|
1574
1617
|
const l = JSON.parse(i).result;
|
|
1575
|
-
let
|
|
1576
|
-
l.forEach((
|
|
1618
|
+
let u = 0;
|
|
1619
|
+
l.forEach((f) => {
|
|
1577
1620
|
const g = {
|
|
1578
|
-
description:
|
|
1579
|
-
id:
|
|
1580
|
-
title:
|
|
1581
|
-
owner:
|
|
1582
|
-
role:
|
|
1583
|
-
access:
|
|
1621
|
+
description: f.description,
|
|
1622
|
+
id: f.id,
|
|
1623
|
+
title: f.title,
|
|
1624
|
+
owner: f.owner,
|
|
1625
|
+
role: f.role,
|
|
1626
|
+
access: f.access
|
|
1584
1627
|
};
|
|
1585
|
-
|
|
1628
|
+
ae(
|
|
1586
1629
|
e,
|
|
1587
|
-
|
|
1630
|
+
f.id,
|
|
1588
1631
|
(h) => {
|
|
1589
|
-
|
|
1632
|
+
u++, g.members = h, r.push(g), u === l.length && t && t(r);
|
|
1590
1633
|
},
|
|
1591
1634
|
(h) => n(h)
|
|
1592
1635
|
);
|
|
@@ -1599,7 +1642,7 @@ function qe(e, t = void 0, n = void 0) {
|
|
|
1599
1642
|
});
|
|
1600
1643
|
});
|
|
1601
1644
|
}
|
|
1602
|
-
function
|
|
1645
|
+
function ae(e, t, n, s) {
|
|
1603
1646
|
const a = `${e.space}/api/community/listmembers`, r = {
|
|
1604
1647
|
params: {
|
|
1605
1648
|
page: e.page ? e.page : 1,
|
|
@@ -1608,7 +1651,7 @@ function ee(e, t, n, s) {
|
|
|
1608
1651
|
}
|
|
1609
1652
|
};
|
|
1610
1653
|
w(e, (o) => {
|
|
1611
|
-
|
|
1654
|
+
m(a, {
|
|
1612
1655
|
method: "POST",
|
|
1613
1656
|
headers: {
|
|
1614
1657
|
"Content-type": "application/json;charset=UTF-8",
|
|
@@ -1627,12 +1670,12 @@ function ee(e, t, n, s) {
|
|
|
1627
1670
|
});
|
|
1628
1671
|
});
|
|
1629
1672
|
}
|
|
1630
|
-
function
|
|
1673
|
+
function tt(e, t = void 0, n = void 0) {
|
|
1631
1674
|
const s = "YXdA5x4DSUKtlAi2wmnyTA";
|
|
1632
1675
|
e.commu_id || (e.commu_id = s);
|
|
1633
1676
|
const a = `${e.space}/api/v2/communities/${e.commu_id}/ideas/statuses`;
|
|
1634
1677
|
w(e, (r) => {
|
|
1635
|
-
|
|
1678
|
+
m(a, {
|
|
1636
1679
|
method: "GET",
|
|
1637
1680
|
headers: {
|
|
1638
1681
|
"Content-type": "application/json;charset=UTF-8",
|
|
@@ -1650,7 +1693,7 @@ function He(e, t = void 0, n = void 0) {
|
|
|
1650
1693
|
});
|
|
1651
1694
|
});
|
|
1652
1695
|
}
|
|
1653
|
-
function
|
|
1696
|
+
function nt(e, t, n = void 0, s = void 0) {
|
|
1654
1697
|
const { listAllContacts: a, currentUser: r } = e;
|
|
1655
1698
|
console.log("__listAllContacts", a.hits);
|
|
1656
1699
|
const o = `${e.space}/api/directmessages`, i = {
|
|
@@ -1659,20 +1702,20 @@ function ze(e, t, n = void 0, s = void 0) {
|
|
|
1659
1702
|
id_msg: "",
|
|
1660
1703
|
senderId: e.currentUser.login,
|
|
1661
1704
|
senderName: `${e.currentUser.first_name} ${e.currentUser.last_name}`,
|
|
1662
|
-
msg:
|
|
1705
|
+
msg: re(t.msg)
|
|
1663
1706
|
};
|
|
1664
1707
|
let d = !1;
|
|
1665
|
-
|
|
1708
|
+
oe(
|
|
1666
1709
|
i.users,
|
|
1667
1710
|
(p) => {
|
|
1668
|
-
p !== void 0 && (c.id_msg = p.id, d = !0,
|
|
1711
|
+
p !== void 0 && (c.id_msg = p.id, d = !0, R(e, c));
|
|
1669
1712
|
},
|
|
1670
1713
|
(p) => {
|
|
1671
1714
|
d = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", p), s && s(p), c.id_msg = "";
|
|
1672
1715
|
}
|
|
1673
1716
|
), d === !1 && setTimeout(() => {
|
|
1674
1717
|
d === !1 && w(e, (p) => {
|
|
1675
|
-
|
|
1718
|
+
m(o, {
|
|
1676
1719
|
method: "POST",
|
|
1677
1720
|
headers: {
|
|
1678
1721
|
"Content-Type": "application/json",
|
|
@@ -1681,22 +1724,22 @@ function ze(e, t, n = void 0, s = void 0) {
|
|
|
1681
1724
|
},
|
|
1682
1725
|
data: JSON.stringify(i),
|
|
1683
1726
|
type: "json",
|
|
1684
|
-
onComplete(l,
|
|
1727
|
+
onComplete(l, u, f) {
|
|
1685
1728
|
const g = l;
|
|
1686
|
-
g.reponse = JSON.parse(
|
|
1729
|
+
g.reponse = JSON.parse(f.response), g.status = f.status, n && n(g), c.id_msg = g.result.id, R(e, c);
|
|
1687
1730
|
},
|
|
1688
|
-
onFailure(l,
|
|
1731
|
+
onFailure(l, u, f) {
|
|
1689
1732
|
const g = l;
|
|
1690
|
-
g.msg =
|
|
1733
|
+
g.msg = u.errormsg, g.status = u.status, s && s(g);
|
|
1691
1734
|
}
|
|
1692
1735
|
});
|
|
1693
1736
|
});
|
|
1694
1737
|
}, 500);
|
|
1695
1738
|
}
|
|
1696
|
-
function
|
|
1739
|
+
function oe(e, t, n, s) {
|
|
1697
1740
|
const a = `${e.space}/api/directmessages/lite?with_favorites=false`;
|
|
1698
1741
|
w(e, (r) => {
|
|
1699
|
-
|
|
1742
|
+
m(a, {
|
|
1700
1743
|
method: "GET",
|
|
1701
1744
|
headers: {
|
|
1702
1745
|
Accept: "application/json,text/javascript,*/*",
|
|
@@ -1705,13 +1748,13 @@ function te(e, t, n, s) {
|
|
|
1705
1748
|
onComplete(o) {
|
|
1706
1749
|
const i = JSON.parse(o), c = [];
|
|
1707
1750
|
i.result.forEach((l) => {
|
|
1708
|
-
l.users = l.users.sort((
|
|
1751
|
+
l.users = l.users.sort((u, f) => u.login.localeCompare(f.login)), l.users.length === t.length && c.push(l);
|
|
1709
1752
|
});
|
|
1710
1753
|
const d = t.sort(), p = c.find((l) => {
|
|
1711
|
-
const
|
|
1712
|
-
return l.users.forEach((
|
|
1713
|
-
|
|
1714
|
-
}), JSON.stringify(
|
|
1754
|
+
const u = [];
|
|
1755
|
+
return l.users.forEach((f) => {
|
|
1756
|
+
u.push(f.login);
|
|
1757
|
+
}), JSON.stringify(u) === JSON.stringify(d);
|
|
1715
1758
|
});
|
|
1716
1759
|
n && p !== void 0 ? n(p) : (s || p === void 0) && s(p);
|
|
1717
1760
|
},
|
|
@@ -1722,7 +1765,7 @@ function te(e, t, n, s) {
|
|
|
1722
1765
|
});
|
|
1723
1766
|
});
|
|
1724
1767
|
}
|
|
1725
|
-
function
|
|
1768
|
+
function R(e, t, n = void 0, s = void 0) {
|
|
1726
1769
|
const a = {
|
|
1727
1770
|
base: e.space,
|
|
1728
1771
|
uri: "/api/community",
|
|
@@ -1739,7 +1782,7 @@ function j(e, t, n = void 0, s = void 0) {
|
|
|
1739
1782
|
richMessage: t.msg
|
|
1740
1783
|
};
|
|
1741
1784
|
console.log("_3dSwym_sendDirectMessageData url ", r), w(e, (i) => {
|
|
1742
|
-
|
|
1785
|
+
m(r, {
|
|
1743
1786
|
method: "POST",
|
|
1744
1787
|
headers: {
|
|
1745
1788
|
"Content-Type": "application/json",
|
|
@@ -1759,14 +1802,14 @@ function j(e, t, n = void 0, s = void 0) {
|
|
|
1759
1802
|
});
|
|
1760
1803
|
});
|
|
1761
1804
|
}
|
|
1762
|
-
function
|
|
1805
|
+
function re(e) {
|
|
1763
1806
|
const t = (/* @__PURE__ */ new Date()).toLocaleDateString(), n = (/* @__PURE__ */ new Date()).toLocaleTimeString();
|
|
1764
1807
|
return `<p>${e} </p>
|
|
1765
1808
|
<br/>
|
|
1766
1809
|
<hr/>
|
|
1767
1810
|
<p><u>envoyer :</u>Le <b>${t} à ${n}</b></p>`;
|
|
1768
1811
|
}
|
|
1769
|
-
const
|
|
1812
|
+
const ce = {
|
|
1770
1813
|
title: "TEST DEV COMMUNITY IDEA",
|
|
1771
1814
|
// titre du post
|
|
1772
1815
|
community_id: "YXdA5x4DSUKtlAi2wmnyTA",
|
|
@@ -1776,7 +1819,7 @@ const se = {
|
|
|
1776
1819
|
idee_id: "THhRI8rlQNWKRxpv3Xqqug"
|
|
1777
1820
|
// id de l'idee qui est créer au post (_3dSwym_postIdea)
|
|
1778
1821
|
};
|
|
1779
|
-
function
|
|
1822
|
+
function st(e, t, n = void 0, s = void 0) {
|
|
1780
1823
|
const a = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
|
|
1781
1824
|
(c) => c.id === t.community_id
|
|
1782
1825
|
), o = e.swymCommunities.find(
|
|
@@ -1787,7 +1830,7 @@ function Qe(e, t, n = void 0, s = void 0) {
|
|
|
1787
1830
|
// String, le nom de l'affaire
|
|
1788
1831
|
community_id: r?.id !== void 0 ? r.id : o.id,
|
|
1789
1832
|
// String, l'id de la communauté
|
|
1790
|
-
message:
|
|
1833
|
+
message: de(t.text_html),
|
|
1791
1834
|
// STRING => le contenue du message doit être au format HTML
|
|
1792
1835
|
published: 1
|
|
1793
1836
|
// 1 publier, 0 non publier
|
|
@@ -1799,23 +1842,23 @@ function Qe(e, t, n = void 0, s = void 0) {
|
|
|
1799
1842
|
Accept: "application/json",
|
|
1800
1843
|
"X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
|
|
1801
1844
|
};
|
|
1802
|
-
|
|
1845
|
+
m(a, {
|
|
1803
1846
|
method: "POST",
|
|
1804
1847
|
headers: d,
|
|
1805
1848
|
data: JSON.stringify(i),
|
|
1806
1849
|
type: "json",
|
|
1807
|
-
onComplete(p, l,
|
|
1808
|
-
const
|
|
1809
|
-
|
|
1850
|
+
onComplete(p, l, u) {
|
|
1851
|
+
const f = JSON.parse(p);
|
|
1852
|
+
f.status = u.status, f.response = u.response, n && n(f);
|
|
1810
1853
|
},
|
|
1811
|
-
onFailure(p, l,
|
|
1812
|
-
const
|
|
1813
|
-
|
|
1854
|
+
onFailure(p, l, u) {
|
|
1855
|
+
const f = p;
|
|
1856
|
+
f.status = l.status, f.response = l.errormsg, s && s(f);
|
|
1814
1857
|
}
|
|
1815
1858
|
});
|
|
1816
1859
|
});
|
|
1817
1860
|
}
|
|
1818
|
-
function
|
|
1861
|
+
function it(e, t, n = void 0, s = void 0) {
|
|
1819
1862
|
const a = `${e.space}/api/idea/delete`, r = {
|
|
1820
1863
|
params: {
|
|
1821
1864
|
community_id: t.community_id,
|
|
@@ -1823,7 +1866,7 @@ function Ze(e, t, n = void 0, s = void 0) {
|
|
|
1823
1866
|
}
|
|
1824
1867
|
};
|
|
1825
1868
|
w(e, (o) => {
|
|
1826
|
-
|
|
1869
|
+
m(a, {
|
|
1827
1870
|
method: "POST",
|
|
1828
1871
|
headers: {
|
|
1829
1872
|
"Content-type": "application/json;charset=UTF-8",
|
|
@@ -1842,7 +1885,7 @@ function Ze(e, t, n = void 0, s = void 0) {
|
|
|
1842
1885
|
});
|
|
1843
1886
|
});
|
|
1844
1887
|
}
|
|
1845
|
-
function
|
|
1888
|
+
function at(e, t = "", n = void 0, s = void 0) {
|
|
1846
1889
|
const a = e.tenant.toLowerCase() === "r1132101716373" ? "tFtz0G4MR6qNtKgJjNfTog" : e.tenant.toLowerCase() === "r1132101286859" ? "Qpv3HN-tTDOsU-7_c5DnDg" : "Template_d'idée_à_créer";
|
|
1847
1890
|
t === "" && (t = a);
|
|
1848
1891
|
const r = `${e.space}/api/idea/get`, o = {
|
|
@@ -1851,7 +1894,7 @@ function et(e, t = "", n = void 0, s = void 0) {
|
|
|
1851
1894
|
}
|
|
1852
1895
|
};
|
|
1853
1896
|
w(e, (i) => {
|
|
1854
|
-
|
|
1897
|
+
m(r, {
|
|
1855
1898
|
method: "POST",
|
|
1856
1899
|
headers: {
|
|
1857
1900
|
"Content-type": "application/json;charset=UTF-8",
|
|
@@ -1871,14 +1914,14 @@ function et(e, t = "", n = void 0, s = void 0) {
|
|
|
1871
1914
|
});
|
|
1872
1915
|
});
|
|
1873
1916
|
}
|
|
1874
|
-
function
|
|
1917
|
+
function ot(e, t = ce, n = void 0, s = void 0) {
|
|
1875
1918
|
const a = {
|
|
1876
1919
|
uri: "/api/idea/list",
|
|
1877
1920
|
comId: `/community_id/${e.tenant.toLowerCase() === "r1132101716373" ? t.community_id : "bgnIsG74SUWswyGzS6NC6g"}`,
|
|
1878
1921
|
limit: `/limit/${t.limit ? t.limit : 10}`
|
|
1879
1922
|
}, r = `${e.space}${a.uri}${a.comId}${a.limit}`;
|
|
1880
1923
|
w(e, (o) => {
|
|
1881
|
-
|
|
1924
|
+
m(r, {
|
|
1882
1925
|
method: "GET",
|
|
1883
1926
|
headers: {
|
|
1884
1927
|
"X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
|
|
@@ -1894,7 +1937,7 @@ function tt(e, t = se, n = void 0, s = void 0) {
|
|
|
1894
1937
|
});
|
|
1895
1938
|
});
|
|
1896
1939
|
}
|
|
1897
|
-
function
|
|
1940
|
+
function de(e) {
|
|
1898
1941
|
return !e || e === "" ? `<h2><u>INFORMATIONS AFFAIRE :</u></h2>
|
|
1899
1942
|
<p><u>|⚠️<em> Merci de respecter l'écriture des tags, en MAJUSCULES, nom complet, pas de caractères</em></u></p>
|
|
1900
1943
|
<p><u><em>|spéciaux, séparation par "_" si besoin !</em></u></p>
|
|
@@ -1969,10 +2012,10 @@ function ie(e) {
|
|
|
1969
2012
|
<p>
|
|
1970
2013
|
</p>` : e;
|
|
1971
2014
|
}
|
|
1972
|
-
function
|
|
2015
|
+
function rt(e, t = void 0, n = void 0) {
|
|
1973
2016
|
const s = e.space + "/api/user/getcurrent/";
|
|
1974
2017
|
w(e, (a) => {
|
|
1975
|
-
|
|
2018
|
+
m(s, {
|
|
1976
2019
|
method: "GET",
|
|
1977
2020
|
headers: {
|
|
1978
2021
|
"X-DS-SWYM-CSRFTOKEN": a.result.ServerToken
|
|
@@ -1988,12 +2031,12 @@ function nt(e, t = void 0, n = void 0) {
|
|
|
1988
2031
|
});
|
|
1989
2032
|
});
|
|
1990
2033
|
}
|
|
1991
|
-
function
|
|
2034
|
+
function ct(e, t, n = void 0, s = void 0) {
|
|
1992
2035
|
const a = e.space + "/api/user/find/login/" + t;
|
|
1993
2036
|
w(
|
|
1994
2037
|
e,
|
|
1995
2038
|
(r) => {
|
|
1996
|
-
|
|
2039
|
+
m(a, {
|
|
1997
2040
|
method: "GET",
|
|
1998
2041
|
headers: { "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken },
|
|
1999
2042
|
onComplete(o, i, c) {
|
|
@@ -2008,18 +2051,18 @@ function st(e, t, n = void 0, s = void 0) {
|
|
|
2008
2051
|
s
|
|
2009
2052
|
);
|
|
2010
2053
|
}
|
|
2011
|
-
function
|
|
2012
|
-
e.tenant &&
|
|
2054
|
+
function dt(e, t = void 0, n = void 0) {
|
|
2055
|
+
e.tenant && $(e, (s) => {
|
|
2013
2056
|
console.log("serviceUrls", s);
|
|
2014
2057
|
const a = s.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
|
|
2015
2058
|
t && t(a);
|
|
2016
2059
|
});
|
|
2017
2060
|
}
|
|
2018
|
-
function
|
|
2019
|
-
e.tenant &&
|
|
2061
|
+
function pt(e, t = void 0, n = void 0) {
|
|
2062
|
+
e.tenant && $(e, (s) => {
|
|
2020
2063
|
console.log("serviceUrls", s);
|
|
2021
2064
|
const a = s.services.find((i) => i.id === "3dpassport")?.url, r = s.services.find((i) => i.id === "businessprocess")?.url + "/api/v2", o = `${a}/login/?service=${r}/auth/cas`;
|
|
2022
|
-
|
|
2065
|
+
m(o, {
|
|
2023
2066
|
async onComplete(i) {
|
|
2024
2067
|
console.log("response", i);
|
|
2025
2068
|
const c = typeof i == "string" ? JSON.parse(i)?.x3ds_service_redirect_url : i?.x3ds_service_redirect_url;
|
|
@@ -2035,8 +2078,8 @@ function at(e, t = void 0, n = void 0) {
|
|
|
2035
2078
|
});
|
|
2036
2079
|
});
|
|
2037
2080
|
}
|
|
2038
|
-
async function
|
|
2039
|
-
e.tenant &&
|
|
2081
|
+
async function lt(e, t, n = void 0, s = void 0) {
|
|
2082
|
+
e.tenant && $(e, (a) => {
|
|
2040
2083
|
const o = `${a.services.find((i) => i.id === "businessprocess")?.url + "/api/v2"}/identity/users`;
|
|
2041
2084
|
fetch(`https://api.uixhome.fr/iterop/listusers?t=${t}&s=${o}`, {
|
|
2042
2085
|
method: "POST"
|
|
@@ -2047,8 +2090,8 @@ async function ot(e, t, n = void 0, s = void 0) {
|
|
|
2047
2090
|
});
|
|
2048
2091
|
});
|
|
2049
2092
|
}
|
|
2050
|
-
async function
|
|
2051
|
-
e.tenant &&
|
|
2093
|
+
async function ut(e, t, n = void 0, s = void 0) {
|
|
2094
|
+
e.tenant && $(e, (a) => {
|
|
2052
2095
|
const o = `${a.services.find((i) => i.id === "businessprocess")?.url + "/api/v2"}/repository/data/tables`;
|
|
2053
2096
|
fetch(`https://api.uixhome.fr/iterop/repository/data/tables?t=${t}&s=${o}`, {
|
|
2054
2097
|
method: "GET"
|
|
@@ -2059,8 +2102,8 @@ async function rt(e, t, n = void 0, s = void 0) {
|
|
|
2059
2102
|
});
|
|
2060
2103
|
});
|
|
2061
2104
|
}
|
|
2062
|
-
async function
|
|
2063
|
-
e.tenant &&
|
|
2105
|
+
async function ft(e, t, n, s, a = void 0, r = void 0) {
|
|
2106
|
+
e.tenant && $(e, (o) => {
|
|
2064
2107
|
const i = o.services.find((d) => d.id === "businessprocess")?.url + "/api/v2", c = encodeURIComponent(`${i}`);
|
|
2065
2108
|
fetch(
|
|
2066
2109
|
`https://api.uixhome.fr/iterop/runtime/processes/${n}?t=${t}&s=${c}&b=${s}`,
|
|
@@ -2074,14 +2117,14 @@ async function ct(e, t, n, s, a = void 0, r = void 0) {
|
|
|
2074
2117
|
});
|
|
2075
2118
|
});
|
|
2076
2119
|
}
|
|
2077
|
-
function
|
|
2120
|
+
function mt(e) {
|
|
2078
2121
|
const t = "Hello " + e;
|
|
2079
2122
|
return console.log(t), t;
|
|
2080
2123
|
}
|
|
2081
|
-
function
|
|
2124
|
+
function gt(e, t = void 0, n = void 0) {
|
|
2082
2125
|
return console.log("credentials", e), new Promise((s) => {
|
|
2083
2126
|
if (e.token === "" && T(e), !e.space || e.space === "") {
|
|
2084
|
-
const o =
|
|
2127
|
+
const o = K();
|
|
2085
2128
|
console.log("platformeInfo", o);
|
|
2086
2129
|
}
|
|
2087
2130
|
b(
|
|
@@ -2095,14 +2138,14 @@ function pt(e, t = void 0, n = void 0) {
|
|
|
2095
2138
|
},
|
|
2096
2139
|
!0
|
|
2097
2140
|
);
|
|
2098
|
-
const a =
|
|
2099
|
-
|
|
2141
|
+
const a = v.now().ts, r = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dsearch&platformId=${e.tenant}`;
|
|
2142
|
+
m(r, {
|
|
2100
2143
|
onComplete(o) {
|
|
2101
2144
|
if (Array.isArray(JSON.parse(o))) {
|
|
2102
2145
|
const i = JSON.parse(o);
|
|
2103
2146
|
console.log("serviceId=3dsearch", i);
|
|
2104
2147
|
const c = `${i[0].services[0].url}/search?xrequestedwith=xmlhttprequest`;
|
|
2105
|
-
|
|
2148
|
+
m(c, {
|
|
2106
2149
|
method: "POST",
|
|
2107
2150
|
headers: {
|
|
2108
2151
|
Accept: "application/json",
|
|
@@ -2158,84 +2201,84 @@ function pt(e, t = void 0, n = void 0) {
|
|
|
2158
2201
|
});
|
|
2159
2202
|
}
|
|
2160
2203
|
export {
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2204
|
+
P as UUID,
|
|
2205
|
+
gt as _3DSearch_usersGroup,
|
|
2206
|
+
Re as _3DSpace_Create_Doc,
|
|
2207
|
+
Ee as _3DSpace_bookmark_addSubsciptions,
|
|
2208
|
+
Je as _3DSpace_bookmark_newWorkspace,
|
|
2166
2209
|
T as _3DSpace_csrf,
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2210
|
+
x as _3DSpace_download_doc,
|
|
2211
|
+
Q as _3DSpace_download_multidoc,
|
|
2212
|
+
z as _3DSpace_file_update,
|
|
2213
|
+
q as _3DSpace_file_update_csr,
|
|
2214
|
+
je as _3DSpace_file_url_csr,
|
|
2215
|
+
A as _3DSpace_get_csrf,
|
|
2216
|
+
H as _3DSpace_get_docInfo,
|
|
2217
|
+
Z as _3DSpace_get_downloadTicket_multidoc,
|
|
2218
|
+
Fe as _3DSpace_get_multiDocInfo,
|
|
2176
2219
|
b as _3DSpace_get_securityContexts,
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2220
|
+
F as _3DSpace_get_ticket,
|
|
2221
|
+
Le as _3DSpace_lifecycle_changeRevision,
|
|
2222
|
+
Pe as _3DSpace_lifecycle_changeState,
|
|
2223
|
+
xe as _3DSpace_lifecycle_getGraph,
|
|
2224
|
+
Me as _3DSpace_lifecycle_getNextRevision,
|
|
2225
|
+
De as _3DSpace_lifecycle_getNextStates,
|
|
2226
|
+
nt as _3DSwym_buildDirectMessage,
|
|
2227
|
+
it as _3DSwym_deleteIdea,
|
|
2228
|
+
oe as _3DSwym_findCommunityToInstantMSG,
|
|
2229
|
+
et as _3DSwym_getAllCommunities,
|
|
2230
|
+
Qe as _3DSwym_getAllNews,
|
|
2231
|
+
Ze as _3DSwym_getFamiliarPeople,
|
|
2232
|
+
tt as _3DSwym_getIdeaStatusMaturity,
|
|
2233
|
+
ae as _3DSwym_getMembersCommunity,
|
|
2234
|
+
at as _3DSwym_getSWYMIdea,
|
|
2235
|
+
ot as _3DSwym_get_AllSWYMIdeas,
|
|
2236
|
+
rt as _3DSwym_get_currentUser,
|
|
2237
|
+
ct as _3DSwym_get_findUser,
|
|
2195
2238
|
w as _3DSwym_get_version,
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2239
|
+
st as _3DSwym_postIdea,
|
|
2240
|
+
R as _3DSwym_sendMessageData,
|
|
2241
|
+
be as _AppMngt_get_info_user,
|
|
2242
|
+
Oe as _AppMngt_get_users,
|
|
2243
|
+
pt as _Iterop_Auth_CAS,
|
|
2244
|
+
lt as _Iterop_ListUsers,
|
|
2245
|
+
ut as _Iterop_getAllBusinessTables,
|
|
2246
|
+
ft as _Iterop_runProcess,
|
|
2247
|
+
K as _getPlateformInfos,
|
|
2248
|
+
we as _getPlatformServices,
|
|
2249
|
+
$ as _getServiceUrl,
|
|
2250
|
+
Ce as _getServiceUrl_3DPassport,
|
|
2251
|
+
dt as _getServiceUrl_Iterop,
|
|
2252
|
+
m as _httpCallAuthenticated,
|
|
2253
|
+
Se as _setDraggable,
|
|
2254
|
+
_e as _setDroppable,
|
|
2255
|
+
ye as _setupTagger,
|
|
2256
|
+
He as addTagToDoc,
|
|
2257
|
+
Te as compass_getListAdditionalApps,
|
|
2258
|
+
G as couleurs,
|
|
2259
|
+
Ne as createUserGroups,
|
|
2260
|
+
ee as dataMixing,
|
|
2261
|
+
$e as deleteUserGroups,
|
|
2262
|
+
me as findAdresse,
|
|
2263
|
+
Ge as getAllContextSecurity,
|
|
2264
|
+
W as getCSRFToken,
|
|
2265
|
+
fe as getCommunes,
|
|
2266
|
+
ve as getComplementUG,
|
|
2267
|
+
Ke as getDataFrom3DSpace,
|
|
2268
|
+
ge as getDataFromGouvFr,
|
|
2269
|
+
Xe as getDatasByTenant,
|
|
2270
|
+
Ye as getDatasFrom3DSpace,
|
|
2271
|
+
Ve as getDownloadDocument,
|
|
2272
|
+
qe as getInfoDocTags,
|
|
2273
|
+
Ie as getUserGroupsList,
|
|
2274
|
+
V as getUsersGroupRules,
|
|
2275
|
+
Be as get_3DSpace_csrf,
|
|
2276
|
+
Ae as patchUserGroups,
|
|
2277
|
+
Ue as patchUserGroupsControl,
|
|
2278
|
+
We as pushDataIn3DSpace,
|
|
2279
|
+
ke as readUserGroupControl,
|
|
2280
|
+
ze as removeTagToDoc,
|
|
2281
|
+
mt as sayHello,
|
|
2282
|
+
he as updateEvent
|
|
2240
2283
|
};
|
|
2241
2284
|
//# sourceMappingURL=wb3Api.js.map
|