@beam3_dev/api_module 0.0.50 → 0.0.52

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 CHANGED
@@ -34,7 +34,7 @@ const L = {
34
34
  b3Edit8: "#616161",
35
35
  b3Edit9: "#795548"
36
36
  };
37
- async function oe(e, t = void 0, n = void 0) {
37
+ async function ie(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 oe(e, t = void 0, n = void 0) {
50
50
  n && n(i), console.error("Erreur : " + i);
51
51
  });
52
52
  }
53
- async function re(e, t = void 0, n = void 0) {
53
+ async function oe(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,11 +65,11 @@ async function re(e, t = void 0, n = void 0) {
65
65
  n && n(s), console.error("Erreur : " + s);
66
66
  });
67
67
  }
68
- async function ce(e, t = L) {
68
+ async function re(e, t = L) {
69
69
  let n = b.now().year;
70
- const s = e, i = [], r = (a) => {
71
- for (let c in a)
72
- i.push({ date: c, comment: a[c] });
70
+ const s = e, i = [], c = (a) => {
71
+ for (let r in a)
72
+ i.push({ date: r, comment: a[r] });
73
73
  };
74
74
  for (let a = n; a <= n + 1; a++)
75
75
  await fetch(
@@ -80,41 +80,41 @@ async function ce(e, t = L) {
80
80
  Accept: "application/json"
81
81
  }
82
82
  }
83
- ).then((c) => c.json()).then((c) => {
84
- r(c);
85
- }).catch((c) => console.error("Erreur : " + c));
83
+ ).then((r) => r.json()).then((r) => {
84
+ c(r);
85
+ }).catch((r) => console.error("Erreur : " + r));
86
86
  return (() => {
87
87
  const a = s.length === 0 ? {
88
88
  events: []
89
89
  } : s;
90
- for (let c of i)
90
+ for (let r of i)
91
91
  a.events.findIndex(
92
- (l) => l.start === b.fromISO(c.date).toISODate() && l.name === "Férié : " + c.comment
92
+ (l) => l.start === b.fromISO(r.date).toISODate() && l.name === "Férié : " + r.comment
93
93
  ) === -1 && a.events.push({
94
- name: "Férié : " + c.comment,
95
- start: b.fromISO(c.date).toISODate(),
96
- end: b.fromISO(c.date).toISODate(),
94
+ name: "Férié : " + r.comment,
95
+ start: b.fromISO(r.date).toISODate(),
96
+ end: b.fromISO(r.date).toISODate(),
97
97
  color: t.b3BusinnessDays,
98
98
  timed: !1
99
99
  });
100
100
  return a;
101
101
  })();
102
102
  }
103
- async function de(e, t, n = !0) {
103
+ async function ce(e, t, n = !0) {
104
104
  const s = e.events.findIndex((i) => i.uuid === t.uuid);
105
- return s === -1 ? e.events.push(t) : n ? e.events[s] = t : e.events.splice(s, 1), e.length > 0 && e.sort((i, r) => i.start - r.start), e;
105
+ return s === -1 ? e.events.push(t) : n ? e.events[s] = t : e.events.splice(s, 1), e.length > 0 && e.sort((i, c) => i.start - c.start), e;
106
106
  }
107
107
  function f(e, t) {
108
108
  O(["DS/WAFData/WAFData"], (n) => {
109
109
  n.authenticatedRequest(e, t);
110
110
  });
111
111
  }
112
- function le(e, t, n) {
112
+ function de(e, t, n) {
113
113
  O(["DS/DataDragAndDrop/DataDragAndDrop"], (s) => {
114
114
  s.draggable(e, { data: t, start: n });
115
115
  });
116
116
  }
117
- function pe(e, t = void 0) {
117
+ function le(e, t = void 0) {
118
118
  O(["DS/TagNavigatorProxy/TagNavigatorProxy"], (n) => {
119
119
  let s;
120
120
  s === void 0 && (s = n.createProxy({
@@ -123,12 +123,12 @@ function pe(e, t = void 0) {
123
123
  }), t !== void 0 && s.addEvent("onFilterSubjectsChange", t)), s.setSubjectsTags(e);
124
124
  });
125
125
  }
126
- function ue(e, t) {
126
+ function pe(e, t) {
127
127
  O(["DS/DataDragAndDrop/DataDragAndDrop"], (n) => {
128
128
  n.droppable(e, { drop: t });
129
129
  });
130
130
  }
131
- async function fe(e, t = void 0, n = void 0) {
131
+ async function ue(e, t = void 0, n = void 0) {
132
132
  O(
133
133
  ["DS/i3DXCompassServices/i3DXCompassServices"],
134
134
  (s) => {
@@ -142,21 +142,21 @@ async function fe(e, t = void 0, n = void 0) {
142
142
  }
143
143
  );
144
144
  }
145
- function me() {
145
+ function fe() {
146
146
  let e = {};
147
147
  return O(["DS/PlatformAPI/PlatformAPI"], (t) => {
148
- const n = t.getTenant(), s = t.getUser(), i = t.getAllApplicationConfigurations(), r = t.getApplicationConfiguration(
148
+ const n = t.getTenant(), s = t.getUser(), i = t.getAllApplicationConfigurations(), c = t.getApplicationConfiguration(
149
149
  "com.3ds.wp.passport.cors"
150
150
  );
151
151
  e = {
152
152
  tenant: n,
153
153
  user: s,
154
154
  appsConfiguration: i,
155
- appConf: r
155
+ appConf: c
156
156
  };
157
157
  }), console.log("%cRETOUR API :", "color:blue", e), e;
158
158
  }
159
- function ge(e, t, n) {
159
+ function me(e, t, n) {
160
160
  const s = {
161
161
  base: `${e.space}`,
162
162
  uri: "/resources/AppsMngt/api/custom/applications",
@@ -169,58 +169,58 @@ function ge(e, t, n) {
169
169
  "Content-Type": "application/json",
170
170
  Accept: "application/json"
171
171
  },
172
- onComplete(r, o, a) {
173
- const c = JSON.parse(r), d = c.data.map((l) => {
172
+ onComplete(c, o, a) {
173
+ const r = JSON.parse(c), d = r.data.map((l) => {
174
174
  const p = l.attributes.name, u = l.id;
175
175
  return { name: p, id: u };
176
176
  });
177
- t && t(d, c);
177
+ t && t(d, r);
178
178
  },
179
- onFailure(r, o) {
180
- const a = r;
179
+ onFailure(c, o) {
180
+ const a = c;
181
181
  a.msg = o.errormsg, a.errCode = o.errorcode, n && n(a);
182
182
  }
183
183
  });
184
184
  }
185
- function he(e, t = void 0, n = void 0) {
185
+ function ge(e, t = void 0, n = void 0) {
186
186
  let s = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
187
187
  f(s, {
188
- onComplete(i, r, o) {
188
+ onComplete(i, c, o) {
189
189
  const a = JSON.parse(i);
190
190
  console.log("_AppMngt_get_users => ", a), t && t(a);
191
191
  },
192
- onFailure(i, r) {
192
+ onFailure(i, c) {
193
193
  const o = i;
194
- o.msg = r.errormsg, o.errCode = r.errorcode, n && n(o);
194
+ o.msg = c.errormsg, o.errCode = c.errorcode, n && n(o);
195
195
  }
196
196
  });
197
197
  }
198
- function Se(e, t, n = void 0, s = void 0) {
198
+ function he(e, t, n = void 0, s = void 0) {
199
199
  let i = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${t}`;
200
200
  f(i, {
201
- onComplete(r, o, a) {
202
- const c = JSON.parse(r);
203
- n && n(c);
201
+ onComplete(c, o, a) {
202
+ const r = JSON.parse(c);
203
+ n && n(r);
204
204
  },
205
- onFailure(r, o) {
206
- const a = r;
205
+ onFailure(c, o) {
206
+ const a = c;
207
207
  a.msg = o.errormsg, a.errCode = o.errorcode, s && s(a);
208
208
  }
209
209
  });
210
210
  }
211
- const D = {
211
+ const F = {
212
212
  "Content-Type": "application/json",
213
213
  Accept: "application/json,text/javascript,*/*"
214
214
  };
215
- function _e(e, t, n = void 0, s = void 0) {
216
- const { space: i, currentUser: r } = e, a = `${i}${{
215
+ function Se(e, t, n = void 0, s = void 0) {
216
+ const { space: i, currentUser: c } = e, a = `${i}${{
217
217
  URIUGr: "/3drdfpersist/resources/v1/usersgroup"
218
- }.URIUGr}`, c = {
218
+ }.URIUGr}`, r = {
219
219
  groups: [
220
220
  {
221
221
  title: t.title,
222
222
  description: t.description,
223
- members: t.members || [r.email, "samuel.mureau@beam3.fr"],
223
+ members: t.members || [c.email, "samuel.mureau@beam3.fr"],
224
224
  pending_members: [],
225
225
  sharing: t.sharing,
226
226
  visibility: t.visibility
@@ -229,8 +229,8 @@ function _e(e, t, n = void 0, s = void 0) {
229
229
  };
230
230
  f(a, {
231
231
  method: "POST",
232
- headers: D,
233
- data: JSON.stringify(c),
232
+ headers: F,
233
+ data: JSON.stringify(r),
234
234
  onComplete(d) {
235
235
  n && n(JSON.parse(d));
236
236
  },
@@ -241,8 +241,8 @@ function _e(e, t, n = void 0, s = void 0) {
241
241
  }
242
242
  });
243
243
  }
244
- function ye(e, t, n = void 0, s = void 0) {
245
- 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}`;
244
+ function _e(e, t, n = void 0, s = void 0) {
245
+ const { space: i, tenant: c } = e, o = i, a = `/3drdfpersist/v1/resources/${t}`, r = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${c}`, d = `${o}${a}${r}`;
246
246
  f(d, {
247
247
  opts: {
248
248
  method: "GET",
@@ -261,12 +261,12 @@ function ye(e, t, n = void 0, s = void 0) {
261
261
  });
262
262
  }
263
263
  function E(e, t = void 0, n = void 0) {
264
- const { space: s, tenant: i } = e, r = s, o = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${i}`, c = {
264
+ const { space: s, tenant: i } = e, c = s, o = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${i}`, r = {
265
265
  method: "GET",
266
266
  Accept: "application/json,*/*,test/javascript"
267
- }, d = `${r}${o}${a}`;
267
+ }, d = `${c}${o}${a}`;
268
268
  f(d, {
269
- OPTsH: c,
269
+ OPTsH: r,
270
270
  onComplete(l) {
271
271
  t && t(JSON.parse(l));
272
272
  },
@@ -276,7 +276,7 @@ function E(e, t = void 0, n = void 0) {
276
276
  }
277
277
  });
278
278
  }
279
- function we(e, t = void 0, n = void 0) {
279
+ function ye(e, t = void 0, n = void 0) {
280
280
  const { space: s, currentUser: i } = e, a = `${s}/3drdfpersist/resources/v1/usersgroup?select=uri,title,description,owner,members,pending_members,creation_date,modification_date,visibility`, d = { method: "GET", headers: {
281
281
  "Content-Type": "application/json",
282
282
  Accept: "application/json,text/javascript,*/*"
@@ -307,14 +307,14 @@ function we(e, t = void 0, n = void 0) {
307
307
  console.log(l);
308
308
  }
309
309
  }
310
- function Te(e, t) {
310
+ function we(e, t) {
311
311
  const { space: n } = e, i = `${n}/3drdfpersist/resources/v1/usersgroup/${t}`;
312
312
  f(i, {
313
313
  method: "DELETE"
314
314
  });
315
315
  }
316
- function Ce(e, t, n, s = void 0, i = void 0) {
317
- const { space: r, tenant: o } = e, a = {
316
+ function Te(e, t, n, s = void 0, i = void 0) {
317
+ const { space: c, tenant: o } = e, a = {
318
318
  URITI: "/3drdfpersist/resources/v1/template-instances",
319
319
  URIUGr: "/3drdfpersist/resources/v1/usersgroup",
320
320
  nextURICh: "/characteristics",
@@ -322,9 +322,9 @@ function Ce(e, t, n, s = void 0, i = void 0) {
322
322
  nexURImem: "/members",
323
323
  OPTsTI: "?$mask=dsaccess:Mask.GroupUI.Properties",
324
324
  OPTsTenant: `tenant=dstenant:${o}`
325
- }, c = n, d = `${r}${a.URIUGr}/${t}`, l = JSON.stringify(c);
325
+ }, r = n, d = `${c}${a.URIUGr}/${t}`, l = JSON.stringify(r);
326
326
  f(d, {
327
- headers: D,
327
+ headers: F,
328
328
  method: "PATCH",
329
329
  data: l,
330
330
  type: "json",
@@ -336,11 +336,11 @@ function Ce(e, t, n, s = void 0, i = void 0) {
336
336
  }
337
337
  });
338
338
  }
339
- function Oe(e, t, n, s = void 0, i = void 0) {
340
- const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
339
+ function Ce(e, t, n, s = void 0, i = void 0) {
340
+ const { space: c } = e, a = `${c}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
341
341
  f(a, {
342
342
  method: "PATCH",
343
- headers: D,
343
+ headers: F,
344
344
  data: JSON.stringify(n),
345
345
  type: "json",
346
346
  onComplete(d) {
@@ -351,7 +351,7 @@ function Oe(e, t, n, s = void 0, i = void 0) {
351
351
  }
352
352
  });
353
353
  }
354
- function Ne(e, t, n = void 0, s = void 0) {
354
+ function Oe(e, t, n = void 0, s = void 0) {
355
355
  const { space: i } = e, o = `${i}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
356
356
  f(o, {
357
357
  opts: {
@@ -375,9 +375,9 @@ async function J(e, t = void 0, n = void 0, s = void 0) {
375
375
  console.log("Le paramètre docid est obligatoire");
376
376
  return;
377
377
  }
378
- const r = i + `/resources/v1/modeler/documents/${t}`;
379
- f(r, {
380
- onComplete(o, a, c) {
378
+ const c = i + `/resources/v1/modeler/documents/${t}`;
379
+ f(c, {
380
+ onComplete(o, a, r) {
381
381
  const d = JSON.parse(o);
382
382
  n && n(d);
383
383
  },
@@ -390,7 +390,7 @@ function k(e, t = void 0, n = void 0) {
390
390
  if (e.objID && e.objID !== "") {
391
391
  let s = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
392
392
  f(s, {
393
- onComplete(i, r, o) {
393
+ onComplete(i, c, o) {
394
394
  const a = JSON.parse(i);
395
395
  e.token = a?.csrf?.value, e.datas = a?.data[0], t && t(e);
396
396
  },
@@ -399,18 +399,26 @@ function k(e, t = void 0, n = void 0) {
399
399
  }
400
400
  });
401
401
  } else
402
- C(e);
402
+ C(
403
+ e,
404
+ (s) => {
405
+ console.log("_3DSpace_get_csrf / _3DSpace_csrf", s), t && t(s);
406
+ },
407
+ (s) => {
408
+ n && n(s);
409
+ }
410
+ );
403
411
  }
404
412
  function C(e, t = void 0, n = void 0) {
405
413
  if (e.space) {
406
414
  const s = e.space + "/resources/v1/application/CSRF";
407
415
  f(s, {
408
- onComplete(i, r, o) {
416
+ onComplete(i, c, o) {
409
417
  const a = JSON.parse(i);
410
418
  console.log("_3DSpace_csrf() / info => ", a), t && t(a.csrf.value);
411
419
  },
412
- onFailure(i, r, o) {
413
- n && n({ response: i, headers: r, xhr: o });
420
+ onFailure(i, c, o) {
421
+ n && n({ response: i, headers: c, xhr: o });
414
422
  }
415
423
  });
416
424
  } else
@@ -421,19 +429,23 @@ function U(e, t = void 0, n = void 0) {
421
429
  k(
422
430
  e,
423
431
  (i) => {
424
- console.log("onComplete / ☠️ info => ", i, e.token), f(s, {
432
+ console.log(
433
+ "_3DSpace_file_url / onComplete / ☠️ info => ",
434
+ i,
435
+ e.token
436
+ ), f(s, {
425
437
  method: "PUT",
426
438
  headers: {
427
- ENO_CSRF_TOKEN: i.csrf.value === e.token ? i.csrf.value : e.token
439
+ ENO_CSRF_TOKEN: e.token
428
440
  },
429
- onComplete(r) {
430
- let o = JSON.parse(r);
441
+ onComplete(c) {
442
+ let o = JSON.parse(c);
431
443
  console.log("_3DSpace_file_url() / ☠️ info => ", o);
432
444
  const a = o.data[0].dataelements.ticketURL;
433
445
  e.ticket = a, t && t(a);
434
446
  },
435
- onFailure(r, o) {
436
- console.warn("☠️ error => ", r, o), n && n(r, o);
447
+ onFailure(c, o) {
448
+ console.warn("☠️ error => ", c, o), n && n(c, o);
437
449
  }
438
450
  });
439
451
  },
@@ -442,9 +454,9 @@ function U(e, t = void 0, n = void 0) {
442
454
  }
443
455
  );
444
456
  }
445
- function be(e, t, n, s = void 0, i = void 0) {
446
- const r = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
447
- n || (n = e.token), f(r, {
457
+ function Ne(e, t, n, s = void 0, i = void 0) {
458
+ const c = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
459
+ n || (n = e.token), f(c, {
448
460
  method: "PUT",
449
461
  headers: {
450
462
  ENO_CSRF_TOKEN: n
@@ -453,10 +465,10 @@ function be(e, t, n, s = void 0, i = void 0) {
453
465
  let a = JSON.parse(o);
454
466
  if (console.log("☠️ info => ", a), a.success === !0)
455
467
  try {
456
- const c = a.data[0].dataelements.ticketURL;
457
- s && s(c);
458
- } catch (c) {
459
- i && i(c);
468
+ const r = a.data[0].dataelements.ticketURL;
469
+ s && s(r);
470
+ } catch (r) {
471
+ i && i(r);
460
472
  }
461
473
  },
462
474
  onFailure(o) {
@@ -464,7 +476,7 @@ function be(e, t, n, s = void 0, i = void 0) {
464
476
  }
465
477
  });
466
478
  }
467
- function G(e, t, n, s, i, r = void 0, o = void 0) {
479
+ function G(e, t, n, s, i, c = void 0, o = void 0) {
468
480
  k(
469
481
  e,
470
482
  t,
@@ -476,18 +488,18 @@ function G(e, t, n, s, i, r = void 0, o = void 0) {
476
488
  s,
477
489
  i,
478
490
  a.csrf.value,
479
- r,
491
+ c,
480
492
  o
481
493
  );
482
494
  }
483
495
  );
484
496
  }
485
- function K(e, t, n, s, i, r, o = void 0, a = void 0) {
486
- const c = e.space + `/resources/v1/modeler/documents/${t}/files/CheckinTicket`;
487
- f(c, {
497
+ function K(e, t, n, s, i, c, o = void 0, a = void 0) {
498
+ const r = e.space + `/resources/v1/modeler/documents/${t}/files/CheckinTicket`;
499
+ f(r, {
488
500
  method: "PUT",
489
501
  headers: {
490
- ENO_CSRF_TOKEN: r
502
+ ENO_CSRF_TOKEN: c
491
503
  },
492
504
  onComplete(d, l, p) {
493
505
  const u = JSON.parse(d).data[0].dataelements, m = new FormData();
@@ -497,7 +509,7 @@ function K(e, t, n, s, i, r, o = void 0, a = void 0) {
497
509
  let S = "temp_" + Date.now(), _ = {
498
510
  method: "PUT",
499
511
  headers: {
500
- ENO_CSRF_TOKEN: r
512
+ ENO_CSRF_TOKEN: c
501
513
  },
502
514
  data: JSON.stringify({
503
515
  data: [
@@ -537,12 +549,12 @@ function K(e, t, n, s, i, r, o = void 0, a = void 0) {
537
549
  }
538
550
  });
539
551
  }
540
- async function ke(e, t, n, s, i = void 0, r = void 0) {
541
- const o = e.space, a = e.token, c = e.ctx, d = new FormData(), l = new Blob([JSON.stringify(t)], {
552
+ async function be(e, t, n, s, i = void 0, c = void 0) {
553
+ const o = e.space, a = e.token, r = e.ctx, d = new FormData(), l = new Blob([JSON.stringify(t)], {
542
554
  type: "text/plain"
543
555
  }), p = {
544
556
  url_Ticket: `${o}/resources/v1/modeler/documents/files/CheckinTicket`,
545
- url_Post: `${o}/resources/v1/modeler/documents/?SecurityContext=ctx::${c}`
557
+ url_Post: `${o}/resources/v1/modeler/documents/?SecurityContext=ctx::${r}`
546
558
  };
547
559
  if (!o && o !== "") {
548
560
  console.log("le store._3DSpace est vide");
@@ -560,8 +572,8 @@ async function ke(e, t, n, s, i = void 0, r = void 0) {
560
572
  method: "POST",
561
573
  data: d,
562
574
  onComplete(T) {
563
- if (c !== "" && a !== "") {
564
- const F = {
575
+ if (r !== "" && a !== "") {
576
+ const D = {
565
577
  method: "POST",
566
578
  headers: {
567
579
  ENO_CSRF_TOKEN: a,
@@ -596,7 +608,7 @@ async function ke(e, t, n, s, i = void 0, r = void 0) {
596
608
  onComplete: _,
597
609
  onFailure: y
598
610
  };
599
- c !== "" && f(p.url_Post, F);
611
+ r !== "" && f(p.url_Post, D);
600
612
  } else
601
613
  console.warn("le store est vide");
602
614
  },
@@ -605,23 +617,23 @@ async function ke(e, t, n, s, i = void 0, r = void 0) {
605
617
  function _(T) {
606
618
  console.log("Success -- response ", T.data[0]), i && i(T);
607
619
  }
608
- function y(T, F) {
620
+ function y(T, D) {
609
621
  console.log("Erreur -- response ", T, `
610
- headers `, F), r && r(T);
622
+ headers `, D), c && c(T);
611
623
  }
612
624
  f(h.ticketURL, S);
613
625
  }
614
626
  });
615
627
  }
616
- function N(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0) {
628
+ function N(e, t = void 0, n = void 0, s = void 0, i = void 0, c = void 0) {
617
629
  const o = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
618
630
  f(o, {
619
631
  method: "GET",
620
632
  onComplete(a) {
621
- const c = JSON.parse(a);
633
+ const r = JSON.parse(a);
622
634
  let d = "", l, p, u;
623
635
  if (t) {
624
- let m = c.collabspaces.find((g) => g.title === t);
636
+ let m = r.collabspaces.find((g) => g.title === t);
625
637
  if (m) {
626
638
  l = t;
627
639
  let g = m.couples;
@@ -637,7 +649,7 @@ function N(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0) {
637
649
  let _ = g.filter(
638
650
  (y) => y.role.name === h
639
651
  );
640
- _.length === 1 ? (u = _[0].role.name, p = _[0].organization.title) : r(_);
652
+ _.length === 1 ? (u = _[0].role.name, p = _[0].organization.title) : c(_);
641
653
  }
642
654
  });
643
655
  }) : g.forEach((h) => {
@@ -647,12 +659,12 @@ function N(e, t = void 0, n = void 0, s = void 0, i = void 0, r = void 0) {
647
659
  let S = g.filter(
648
660
  (_) => _.role.name === n
649
661
  );
650
- S.length === 1 ? (u = S[0].role.name, p = S[0].organization.title) : r(S);
662
+ S.length === 1 ? (u = S[0].role.name, p = S[0].organization.title) : c(S);
651
663
  }
652
664
  }));
653
665
  }
654
666
  }
655
- l && p && u ? (d = u + "." + p + "." + l, i(d)) : c.preferredcredentials ? (d = c.preferredcredentials.role.name + "." + c.preferredcredentials.organization.title + "." + c.preferredcredentials.collabspace.title, i(d)) : r && (d = u + "." + p + "." + l, r(d));
667
+ l && p && u ? (d = u + "." + p + "." + l, i(d)) : r.preferredcredentials ? (d = r.preferredcredentials.role.name + "." + r.preferredcredentials.organization.title + "." + r.preferredcredentials.collabspace.title, i(d)) : c && (d = u + "." + p + "." + l, c(d));
656
668
  },
657
669
  onFailure(a) {
658
670
  console.log("Erreur de récupération du contexte de sécurité. => ", a);
@@ -669,8 +681,8 @@ async function I(e, t = void 0, n = void 0, s = void 0) {
669
681
  try {
670
682
  console.log("_3DSpace_download_doc / credentials", e), U(
671
683
  e,
672
- (r) => {
673
- f(r, {
684
+ (c) => {
685
+ f(c, {
674
686
  headers: {
675
687
  ENO_CSRF_TOKEN: e.token
676
688
  },
@@ -678,24 +690,24 @@ async function I(e, t = void 0, n = void 0, s = void 0) {
678
690
  const a = JSON.parse(o);
679
691
  t && t(a);
680
692
  },
681
- onFailure(o, a, c) {
682
- n && (console.log("error http", o), n({ error: o, headers: a, xhr: c }));
693
+ onFailure(o, a, r) {
694
+ n && (console.log("error http", o), n({ error: o, headers: a, xhr: r }));
683
695
  }
684
696
  });
685
697
  },
686
- (r) => {
687
- n && n(r), console.log("*_3dspace_download_doc / error file URL *", r);
698
+ (c) => {
699
+ n && n(c), console.log("*_3dspace_download_doc / error file URL *", c);
688
700
  }
689
701
  );
690
- } catch (r) {
691
- console.log("*_3dspace_download_doc / error file URL *", r);
702
+ } catch (c) {
703
+ console.log("*_3dspace_download_doc / error file URL *", c);
692
704
  }
693
705
  }
694
706
  async function W(e, t, n = void 0, s = void 0) {
695
707
  let i = [];
696
708
  for (let a = 0; a < t.length; a += 80) {
697
- const c = t.slice(a, a + 80);
698
- i.push(c);
709
+ const r = t.slice(a, a + 80);
710
+ i.push(r);
699
711
  }
700
712
  const o = (a) => {
701
713
  X(
@@ -704,18 +716,18 @@ async function W(e, t, n = void 0, s = void 0) {
704
716
  () => {
705
717
  a++, a < i.length && o(a);
706
718
  },
707
- (c) => {
708
- n && n(c);
719
+ (r) => {
720
+ n && n(r);
709
721
  }
710
722
  );
711
723
  };
712
724
  o(0);
713
725
  }
714
726
  function X(e, t, n = void 0, s = void 0, i = void 0) {
715
- const r = [];
716
- t.forEach((c) => {
717
- r.push({
718
- id: c
727
+ const c = [];
728
+ t.forEach((r) => {
729
+ c.push({
730
+ id: r
719
731
  });
720
732
  });
721
733
  let o = JSON.stringify({
@@ -723,16 +735,16 @@ function X(e, t, n = void 0, s = void 0, i = void 0) {
723
735
  name: "ENO_CSRF_TOKEN",
724
736
  value: e.token
725
737
  },
726
- data: r
738
+ data: c
727
739
  });
728
740
  const a = `${e.space}/resources/v1/modeler/documents/DownloadTicket?tenant=${e.tenant}&e6w-lang=fr&e6w-timezone=-120`;
729
741
  f(a, {
730
742
  method: "PUT",
731
743
  data: o,
732
744
  type: "json",
733
- onComplete(c) {
734
- const d = c.data;
735
- c.success === !0 && (n && n(), d.forEach((l) => {
745
+ onComplete(r) {
746
+ const d = r.data;
747
+ r.success === !0 && (n && n(), d.forEach((l) => {
736
748
  try {
737
749
  const p = l.dataelements.fileName, u = l.dataelements.ticketURL;
738
750
  f(u, {
@@ -752,15 +764,15 @@ function X(e, t, n = void 0, s = void 0, i = void 0) {
752
764
  }
753
765
  }));
754
766
  },
755
- onFailure(c) {
756
- console.log(c), i && i(c);
767
+ onFailure(r) {
768
+ console.log(r), i && i(r);
757
769
  }
758
770
  });
759
771
  }
760
- function Fe(e, t, n = void 0, s = void 0) {
772
+ function ke(e, t, n = void 0, s = void 0) {
761
773
  return new Promise((i) => {
762
774
  if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
763
- const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
775
+ const c = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
764
776
  N(
765
777
  e.space,
766
778
  "ESPACE COMMUN",
@@ -794,12 +806,12 @@ function Fe(e, t, n = void 0, s = void 0) {
794
806
  s && s(a);
795
807
  }
796
808
  };
797
- f(r, o);
809
+ f(c, o);
798
810
  }
799
811
  });
800
812
  }
801
813
  function De(e, t, n, s = void 0, i = void 0) {
802
- return new Promise((r) => {
814
+ return new Promise((c) => {
803
815
  if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
804
816
  const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
805
817
  N(
@@ -807,9 +819,9 @@ function De(e, t, n, s = void 0, i = void 0) {
807
819
  "ESPACE COMMUN",
808
820
  ["VPLMProjectLeader", "VPLMCreator"],
809
821
  void 0,
810
- (c) => e.ctx = c,
811
- (c) => {
812
- console.log("onError =>", c);
822
+ (r) => e.ctx = r,
823
+ (r) => {
824
+ console.log("onError =>", r);
813
825
  }
814
826
  );
815
827
  let a = {
@@ -829,21 +841,21 @@ function De(e, t, n, s = void 0, i = void 0) {
829
841
  ]
830
842
  }),
831
843
  type: "json",
832
- onComplete(c) {
833
- s && s(c);
844
+ onComplete(r) {
845
+ s && s(r);
834
846
  },
835
- onFailure(c) {
836
- i && i(c);
847
+ onFailure(r) {
848
+ i && i(r);
837
849
  }
838
850
  };
839
851
  f(o, a);
840
852
  }
841
853
  });
842
854
  }
843
- function Ue(e, t, n = void 0, s = void 0) {
855
+ function Fe(e, t, n = void 0, s = void 0) {
844
856
  return new Promise((i) => {
845
857
  if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
846
- const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
858
+ const c = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
847
859
  N(
848
860
  e.space,
849
861
  "ESPACE COMMUN",
@@ -877,14 +889,14 @@ function Ue(e, t, n = void 0, s = void 0) {
877
889
  s && s(a);
878
890
  }
879
891
  };
880
- f(r, o);
892
+ f(c, o);
881
893
  }
882
894
  });
883
895
  }
884
- function $e(e, t, n = void 0, s = void 0) {
896
+ function Ue(e, t, n = void 0, s = void 0) {
885
897
  return new Promise((i) => {
886
898
  if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
887
- const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
899
+ const c = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
888
900
  N(
889
901
  e.space,
890
902
  "ESPACE COMMUN",
@@ -924,12 +936,12 @@ function $e(e, t, n = void 0, s = void 0) {
924
936
  s && s(a);
925
937
  }
926
938
  };
927
- f(r, o);
939
+ f(c, o);
928
940
  }
929
941
  });
930
942
  }
931
- function je(e, t, n, s = void 0, i = void 0) {
932
- return new Promise((r) => {
943
+ function $e(e, t, n, s = void 0, i = void 0) {
944
+ return new Promise((c) => {
933
945
  if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
934
946
  const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
935
947
  N(
@@ -937,9 +949,9 @@ function je(e, t, n, s = void 0, i = void 0) {
937
949
  "ESPACE COMMUN",
938
950
  ["VPLMProjectLeader", "VPLMCreator"],
939
951
  void 0,
940
- (c) => e.ctx = c,
941
- (c) => {
942
- console.log("onError =>", c);
952
+ (r) => e.ctx = r,
953
+ (r) => {
954
+ console.log("onError =>", r);
943
955
  }
944
956
  );
945
957
  let a = {
@@ -964,11 +976,11 @@ function je(e, t, n, s = void 0, i = void 0) {
964
976
  notificationTimeout: 600
965
977
  }),
966
978
  type: "json",
967
- onComplete(c) {
968
- s && s(c);
979
+ onComplete(r) {
980
+ s && s(r);
969
981
  },
970
- onFailure(c) {
971
- i && i(c);
982
+ onFailure(r) {
983
+ i && i(r);
972
984
  }
973
985
  };
974
986
  f(o, a);
@@ -976,18 +988,18 @@ function je(e, t, n, s = void 0, i = void 0) {
976
988
  });
977
989
  }
978
990
  //!SECTION
979
- async function Ae(e, t, n) {
991
+ async function je(e, t, n) {
980
992
  const s = `${e.space}/resources/v1/application/CSRF`;
981
993
  f(s, {
982
994
  onComplete(i) {
983
995
  i = JSON.parse(i), t && t(i.csrf);
984
996
  },
985
- onFailure(i, r, o) {
986
- n && n({ error: i, headers: r, xhr: o });
997
+ onFailure(i, c, o) {
998
+ n && n({ error: i, headers: c, xhr: o });
987
999
  }
988
1000
  });
989
1001
  }
990
- function Re(e, t = void 0, n = void 0) {
1002
+ function Ae(e, t = void 0, n = void 0) {
991
1003
  const s = {
992
1004
  base: `${e.space}`,
993
1005
  uri: "/resources/bps/cspaces",
@@ -999,57 +1011,57 @@ function Re(e, t = void 0, n = void 0) {
999
1011
  Accept: "application/json,text/javascript,*/*",
1000
1012
  "Content-Type": "application/ds-json"
1001
1013
  },
1002
- onComplete(r, o) {
1003
- const a = JSON.parse(r);
1014
+ onComplete(c, o) {
1015
+ const a = JSON.parse(c);
1004
1016
  t && t(a, o);
1005
1017
  },
1006
- onFailure(r, o, a) {
1007
- n && n({ response: r, headers: o, xhr: a });
1018
+ onFailure(c, o, a) {
1019
+ n && n({ response: c, headers: o, xhr: a });
1008
1020
  }
1009
1021
  });
1010
1022
  }
1011
- function Ie(e, t, n, s) {
1023
+ function Re(e, t, n, s) {
1012
1024
  U(
1013
1025
  e.space,
1014
1026
  t,
1015
1027
  (i) => {
1016
1028
  f(i, {
1017
1029
  header: { ENO_CSRF_TOKEN: e.token },
1018
- onComplete: (r) => {
1019
- n && n(r);
1030
+ onComplete: (c) => {
1031
+ n && n(c);
1020
1032
  },
1021
- onFailure: (r) => {
1022
- console.log("error http", r), s && s(r);
1033
+ onFailure: (c) => {
1034
+ console.log("error http", c), s && s(c);
1023
1035
  }
1024
1036
  });
1025
1037
  }
1026
1038
  );
1027
1039
  }
1028
- async function ve(e, t, n = void 0, s = void 0) {
1040
+ async function Ie(e, t, n = void 0, s = void 0) {
1029
1041
  return new Promise((i) => {
1030
- U(e.space, t, (r) => {
1031
- f(r, {
1032
- onComplete: (o, a, c) => (i(JSON.parse(o)), n && n(JSON.parse(o), a, c), i),
1033
- onFailure: (o, a, c) => {
1034
- s && s(o, a, c), console.log(o, a?.errormsg);
1042
+ U(e.space, t, (c) => {
1043
+ f(c, {
1044
+ onComplete: (o, a, r) => (i(JSON.parse(o)), n && n(JSON.parse(o), a, r), i),
1045
+ onFailure: (o, a, r) => {
1046
+ s && s(o, a, r), console.log(o, a?.errormsg);
1035
1047
  }
1036
1048
  });
1037
1049
  });
1038
1050
  });
1039
1051
  }
1040
- function xe(e, t, n, s = void 0, i = void 0) {
1041
- const r = new Blob([JSON.stringify(t)], { type: "text/plain" });
1052
+ function ve(e, t, n, s = void 0, i = void 0) {
1053
+ const c = new Blob([JSON.stringify(t)], { type: "text/plain" });
1042
1054
  k(
1043
1055
  e,
1044
1056
  n,
1045
1057
  (o) => {
1046
- 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;
1058
+ const a = o.data[0].relateddata.files[0].id, r = o.data[0].dataelements.secondaryTitle !== "" ? o.data[0].dataelements.secondaryTitle : o.data[0].dataelements.title;
1047
1059
  G(
1048
1060
  e,
1049
1061
  n,
1050
1062
  a,
1051
- r,
1052
1063
  c,
1064
+ r,
1053
1065
  (d) => {
1054
1066
  s && s(d);
1055
1067
  },
@@ -1062,7 +1074,7 @@ function xe(e, t, n, s = void 0, i = void 0) {
1062
1074
  }
1063
1075
  let v, x;
1064
1076
  const $ = [];
1065
- async function Pe(e, t = void 0, n = void 0) {
1077
+ async function xe(e, t = void 0, n = void 0) {
1066
1078
  e.objID && e.objID !== "" ? (console.log("obj est présent"), k(
1067
1079
  e,
1068
1080
  (s) => {
@@ -1081,34 +1093,26 @@ async function Pe(e, t = void 0, n = void 0) {
1081
1093
  }
1082
1094
  );
1083
1095
  }
1084
- async function Me(e, t = void 0, n = void 0) {
1096
+ async function Pe(e, t = void 0, n = void 0) {
1085
1097
  console.log("getDatasByTenant (getDocuments)", e), await I(
1086
1098
  e,
1087
1099
  (s) => {
1088
1100
  const i = {};
1089
- i.obj = s, V(
1090
- e,
1091
- (r) => {
1092
- i.datas = r, t && t(i);
1093
- },
1094
- (r) => {
1095
- n && n(r);
1096
- }
1097
- );
1101
+ i.obj = s, console.log("getDatasByTenant (getDocuments) _datas", i), t && t(i);
1098
1102
  },
1099
1103
  (s) => {
1100
1104
  n && n(s);
1101
1105
  }
1102
1106
  );
1103
1107
  }
1104
- function V(e, t = void 0, n = void 0) {
1108
+ function Me(e, t = void 0, n = void 0) {
1105
1109
  const s = [];
1106
- e.objIds.forEach((i, r) => {
1110
+ e.objIds.forEach((i, c) => {
1107
1111
  I(
1108
1112
  e,
1109
1113
  i.objId,
1110
1114
  (o) => {
1111
- s.push({ [i.name]: o }), i.name === "dbProjets" && (v = o.affaires.map((a) => a.objectID), B(e, x)), r === e.objIds.length - 1 && t && t(s);
1115
+ s.push({ [i.name]: o }), i.name === "dbProjets" && (v = o.affaires.map((a) => a.objectID), V(e, x)), c === e.objIds.length - 1 && t && t(s);
1112
1116
  },
1113
1117
  (o) => {
1114
1118
  n && n(o);
@@ -1116,20 +1120,20 @@ function V(e, t = void 0, n = void 0) {
1116
1120
  );
1117
1121
  });
1118
1122
  }
1119
- function B(e, t, n = void 0, s = void 0) {
1123
+ function V(e, t, n = void 0, s = void 0) {
1120
1124
  W(
1121
1125
  e,
1122
1126
  v,
1123
1127
  (i) => {
1124
- const r = [...t];
1125
- r.find((o) => o.objectID === i.objectId).data = i.data, x = r, $.push(i.data), n && n($);
1128
+ const c = [...t];
1129
+ c.find((o) => o.objectID === i.objectId).data = i.data, x = c, $.push(i.data), n && n($);
1126
1130
  },
1127
1131
  (i) => {
1128
1132
  s && (s(i), console.log(i));
1129
1133
  }
1130
1134
  );
1131
1135
  }
1132
- const Y = "FA35FB9B177A280065800EA0000F599C", H = [
1136
+ const B = "FA35FB9B177A280065800EA0000F599C", Y = [
1133
1137
  "swym",
1134
1138
  "3dspace",
1135
1139
  "drive",
@@ -1143,17 +1147,17 @@ const Y = "FA35FB9B177A280065800EA0000F599C", H = [
1143
1147
  where: "ds6w:where",
1144
1148
  who: "ds6w:who",
1145
1149
  why: "ds6w:why"
1146
- }, z = {
1147
- objId: Y,
1150
+ }, H = {
1151
+ objId: B,
1148
1152
  pred: "who",
1149
1153
  order_by: "desc",
1150
1154
  tag: "testTag"
1151
1155
  };
1152
1156
  function Le(e, t, n = void 0, s = void 0) {
1153
- const { space: i, tenant: r } = e, { objId: o, pred: a, tag: c } = t, d = {
1157
+ const { space: i, tenant: c } = e, { objId: o, pred: a, tag: r } = t, d = {
1154
1158
  uri: "/resources/6w/tags",
1155
1159
  otpCTX: "SecurityContext=preferred",
1156
- optTenant: `tenant=${r}`
1160
+ optTenant: `tenant=${c}`
1157
1161
  }, l = `${i}${d.uri}?${d.otpCTX}&${d.optTenant}`, p = {
1158
1162
  tag: [
1159
1163
  {
@@ -1164,7 +1168,7 @@ function Le(e, t, n = void 0, s = void 0) {
1164
1168
  ],
1165
1169
  predicate: P[a],
1166
1170
  object: {
1167
- literal: c
1171
+ literal: r
1168
1172
  }
1169
1173
  }
1170
1174
  ]
@@ -1185,7 +1189,7 @@ function Le(e, t, n = void 0, s = void 0) {
1185
1189
  o,
1186
1190
  (g) => {
1187
1191
  const h = g.data[0].dataelements.title, S = g.data[0].dataelements.fileExtension !== void 0 ? g.data[0].dataelements.fileExtension : "", _ = g.data[0].relateddata.ownerInfo[0].dataelements.name;
1188
- m.name = h, m.ext = S, m.createBy = _, t.info = { ...m }, q(
1192
+ m.name = h, m.ext = S, m.createBy = _, t.info = { ...m }, z(
1189
1193
  e,
1190
1194
  t,
1191
1195
  (y) => {
@@ -1209,19 +1213,19 @@ function Le(e, t, n = void 0, s = void 0) {
1209
1213
  }
1210
1214
  });
1211
1215
  }
1212
- function q(e, t, n = void 0, s = void 0) {
1216
+ function z(e, t, n = void 0, s = void 0) {
1213
1217
  console.log("obj ", t);
1214
- const i = t.info.name, r = {
1218
+ const i = t.info.name, c = {
1215
1219
  baseUrl: `https://${e.tenant.toLowerCase()}-eu1-fedsearch.3dexperience.3ds.com`,
1216
1220
  uri: "/federated/search"
1217
- }, o = `${r.baseUrl}${r.uri}`, a = {
1221
+ }, o = `${c.baseUrl}${c.uri}`, a = {
1218
1222
  "Content-Type": "application/json",
1219
1223
  Accept: "application/json,text/javascript,*/*"
1220
- }, c = R(), d = {
1224
+ }, r = R(), d = {
1221
1225
  with_indexing_date: !0,
1222
1226
  with_synthesis: !0,
1223
1227
  with_nls: !1,
1224
- label: `3DSearch-${e.currentUser.username}-AjoutDeTagBeam-${c}`,
1228
+ label: `3DSearch-${e.currentUser.username}-AjoutDeTagBeam-${r}`,
1225
1229
  locale: "fr",
1226
1230
  select_predicate: [
1227
1231
  "ds6w:label",
@@ -1259,7 +1263,7 @@ function q(e, t, n = void 0, s = void 0) {
1259
1263
  }
1260
1264
  },
1261
1265
  select_exclude_synthesis: ["ds6w:what/ds6w:topic"],
1262
- order_by: z.order_by,
1266
+ order_by: H.order_by,
1263
1267
  order_field: "relevance",
1264
1268
  select_snippets: [
1265
1269
  "ds6w:snippet",
@@ -1270,7 +1274,7 @@ function q(e, t, n = void 0, s = void 0) {
1270
1274
  ],
1271
1275
  nresults: 40,
1272
1276
  start: "0",
1273
- source: H,
1277
+ source: Y,
1274
1278
  tenant: e.tenant,
1275
1279
  login: {
1276
1280
  "3dspace": {
@@ -1293,11 +1297,11 @@ function q(e, t, n = void 0, s = void 0) {
1293
1297
  });
1294
1298
  }
1295
1299
  function Ee(e, t, n = void 0, s = void 0) {
1296
- const { objId: i, pred: r, tag: o } = t, a = {
1300
+ const { objId: i, pred: c, tag: o } = t, a = {
1297
1301
  uri: "/resources/6w/tags",
1298
1302
  otpCTX: "SecurityContext=preferred",
1299
1303
  optTenant: `tenant=${e.tenant}`
1300
- }, c = `${e.space}${a.uri}?${a.otpCTX}&${a.optTenant}`, d = {
1304
+ }, r = `${e.space}${a.uri}?${a.otpCTX}&${a.optTenant}`, d = {
1301
1305
  tag: [
1302
1306
  {
1303
1307
  subject: [
@@ -1305,14 +1309,14 @@ function Ee(e, t, n = void 0, s = void 0) {
1305
1309
  uri: `pid://${i}`
1306
1310
  }
1307
1311
  ],
1308
- predicate: P[r],
1312
+ predicate: P[c],
1309
1313
  object: {
1310
1314
  literal: o
1311
1315
  }
1312
1316
  }
1313
1317
  ]
1314
1318
  };
1315
- f(c, {
1319
+ f(r, {
1316
1320
  method: "DELETE",
1317
1321
  data: JSON.stringify(d),
1318
1322
  headers: {
@@ -1332,16 +1336,16 @@ function Je(e, t = "", n = void 0, s = void 0) {
1332
1336
  const { space: i } = e;
1333
1337
  if (t === "")
1334
1338
  return;
1335
- const r = {
1339
+ const c = {
1336
1340
  uri: "/enovia/resources/v1/modeler/documents"
1337
1341
  }, o = {
1338
1342
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
1339
1343
  Accept: "application/json,text/javascript,*/*"
1340
- }, a = `${i}${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}`;
1344
+ }, a = `${i}${c.uri}`, r = `$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}`;
1341
1345
  f(a, {
1342
1346
  method: "POST",
1343
1347
  headers: o,
1344
- data: c,
1348
+ data: r,
1345
1349
  onComplete(d) {
1346
1350
  n && n(JSON.parse(d));
1347
1351
  },
@@ -1354,7 +1358,7 @@ function Je(e, t = "", n = void 0, s = void 0) {
1354
1358
  async function w(e, t = void 0, n = void 0) {
1355
1359
  const s = e.space + "/api/index/tk";
1356
1360
  return f(s, {
1357
- onComplete(i, r, o) {
1361
+ onComplete(i, c, o) {
1358
1362
  const a = JSON.parse(i);
1359
1363
  if (t)
1360
1364
  return t(a), e.token = a?.result?.ServerToken;
@@ -1375,11 +1379,11 @@ function Ge(e, t = void 0, n = void 0) {
1375
1379
  start: 0
1376
1380
  }
1377
1381
  };
1378
- w(e, (r) => {
1382
+ w(e, (c) => {
1379
1383
  f(s, {
1380
1384
  method: "POST",
1381
1385
  headers: {
1382
- "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken,
1386
+ "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken,
1383
1387
  "Content-type": "application/json;charset=UTF-8",
1384
1388
  Accept: "application/json"
1385
1389
  },
@@ -1404,19 +1408,19 @@ function Ke(e, t = void 0, n = void 0) {
1404
1408
  maxNbOfCommonElements: "5"
1405
1409
  }
1406
1410
  };
1407
- w(e, (r) => {
1411
+ w(e, (c) => {
1408
1412
  f(s, {
1409
1413
  method: "POST",
1410
1414
  headers: {
1411
- "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken,
1415
+ "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken,
1412
1416
  "Content-type": "application/json;charset=UTF-8",
1413
1417
  Accept: "application/json"
1414
1418
  },
1415
1419
  data: JSON.stringify(i),
1416
1420
  type: "json",
1417
1421
  onComplete(o, a) {
1418
- const c = o.result.hits.map((d) => ({ login: d.login, fullName: d.name }));
1419
- t && t(c, o);
1422
+ const r = o.result.hits.map((d) => ({ login: d.login, fullName: d.name }));
1423
+ t && t(r, o);
1420
1424
  },
1421
1425
  onFailure(o, a) {
1422
1426
  n && n(o, a);
@@ -1430,14 +1434,14 @@ function We(e, t = void 0, n = void 0) {
1430
1434
  uri: "/api/community/listmycommunities",
1431
1435
  limit: `/limit/${e.limit ? e.limit : 128}`,
1432
1436
  page: `/page/${e.page ? e.page : "1"}`
1433
- }, i = `${s.base}${s.uri}${s.limit}${s.page}`, r = [];
1437
+ }, i = `${s.base}${s.uri}${s.limit}${s.page}`, c = [];
1434
1438
  w(e, (o) => {
1435
1439
  f(i, {
1436
1440
  method: "GET",
1437
1441
  headers: {
1438
1442
  "X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
1439
1443
  },
1440
- onComplete(a, c, d) {
1444
+ onComplete(a, r, d) {
1441
1445
  const p = JSON.parse(a).result;
1442
1446
  let u = 0;
1443
1447
  p.forEach((m) => {
@@ -1449,25 +1453,25 @@ function We(e, t = void 0, n = void 0) {
1449
1453
  role: m.role,
1450
1454
  access: m.access
1451
1455
  };
1452
- Q(
1456
+ q(
1453
1457
  e,
1454
1458
  m.id,
1455
1459
  (h) => {
1456
- u++, g.members = h, r.push(g), u === p.length && t && t(r);
1460
+ u++, g.members = h, c.push(g), u === p.length && t && t(c);
1457
1461
  },
1458
1462
  (h) => n(h)
1459
1463
  );
1460
1464
  });
1461
1465
  },
1462
- onFailure(a, c) {
1466
+ onFailure(a, r) {
1463
1467
  const d = a;
1464
- d.status = c.status, d.response = c.errormsg, n && n(d);
1468
+ d.status = r.status, d.response = r.errormsg, n && n(d);
1465
1469
  }
1466
1470
  });
1467
1471
  });
1468
1472
  }
1469
- function Q(e, t, n, s) {
1470
- const i = `${e.space}/api/community/listmembers`, r = {
1473
+ function q(e, t, n, s) {
1474
+ const i = `${e.space}/api/community/listmembers`, c = {
1471
1475
  params: {
1472
1476
  page: e.page ? e.page : 1,
1473
1477
  limit: e.limit ? e.limit : 50,
@@ -1482,14 +1486,14 @@ function Q(e, t, n, s) {
1482
1486
  Accept: "application/json",
1483
1487
  "X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
1484
1488
  },
1485
- data: JSON.stringify(r),
1489
+ data: JSON.stringify(c),
1486
1490
  type: "json",
1487
- onComplete(a, c, d) {
1491
+ onComplete(a, r, d) {
1488
1492
  n && n(a);
1489
1493
  },
1490
- onFailure(a, c) {
1494
+ onFailure(a, r) {
1491
1495
  const d = a;
1492
- d.status = c.status, d.response = c.errormsg, s && s(d);
1496
+ d.status = r.status, d.response = r.errormsg, s && s(d);
1493
1497
  }
1494
1498
  });
1495
1499
  });
@@ -1498,44 +1502,44 @@ function Xe(e, t = void 0, n = void 0) {
1498
1502
  const s = "YXdA5x4DSUKtlAi2wmnyTA";
1499
1503
  e.commu_id || (e.commu_id = s);
1500
1504
  const i = `${e.space}/api/v2/communities/${e.commu_id}/ideas/statuses`;
1501
- w(e, (r) => {
1505
+ w(e, (c) => {
1502
1506
  f(i, {
1503
1507
  method: "GET",
1504
1508
  headers: {
1505
1509
  "Content-type": "application/json;charset=UTF-8",
1506
1510
  Accept: "application/json",
1507
- "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1511
+ "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
1508
1512
  },
1509
1513
  onComplete(o) {
1510
1514
  const a = JSON.parse(o);
1511
1515
  t && t(a);
1512
1516
  },
1513
1517
  onFailure(o, a) {
1514
- const c = o;
1515
- c.status = a.status, c.response = a.errormsg, n && n(c);
1518
+ const r = o;
1519
+ r.status = a.status, r.response = a.errormsg, n && n(r);
1516
1520
  }
1517
1521
  });
1518
1522
  });
1519
1523
  }
1520
1524
  function Ve(e, t, n = void 0, s = void 0) {
1521
- const { listAllContacts: i, currentUser: r } = e;
1525
+ const { listAllContacts: i, currentUser: c } = e;
1522
1526
  console.log("__listAllContacts", i.hits);
1523
1527
  const o = `${e.space}/api/directmessages`, a = {
1524
- users: [r.login].concat(t.receipt)
1525
- }, c = {
1528
+ users: [c.login].concat(t.receipt)
1529
+ }, r = {
1526
1530
  id_msg: "",
1527
1531
  senderId: e.currentUser.login,
1528
1532
  senderName: `${e.currentUser.first_name} ${e.currentUser.last_name}`,
1529
- msg: ee(t.msg)
1533
+ msg: Z(t.msg)
1530
1534
  };
1531
1535
  let d = !1;
1532
- Z(
1536
+ Q(
1533
1537
  a.users,
1534
1538
  (l) => {
1535
- l !== void 0 && (c.id_msg = l.id, d = !0, j(e, c));
1539
+ l !== void 0 && (r.id_msg = l.id, d = !0, j(e, r));
1536
1540
  },
1537
1541
  (l) => {
1538
- d = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", l), s && s(l), c.id_msg = "";
1542
+ d = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", l), s && s(l), r.id_msg = "";
1539
1543
  }
1540
1544
  ), d === !1 && setTimeout(() => {
1541
1545
  d === !1 && w(e, (l) => {
@@ -1550,7 +1554,7 @@ function Ve(e, t, n = void 0, s = void 0) {
1550
1554
  type: "json",
1551
1555
  onComplete(p, u, m) {
1552
1556
  const g = p;
1553
- g.reponse = JSON.parse(m.response), g.status = m.status, n && n(g), c.id_msg = g.result.id, j(e, c);
1557
+ g.reponse = JSON.parse(m.response), g.status = m.status, n && n(g), r.id_msg = g.result.id, j(e, r);
1554
1558
  },
1555
1559
  onFailure(p, u, m) {
1556
1560
  const g = p;
@@ -1560,21 +1564,21 @@ function Ve(e, t, n = void 0, s = void 0) {
1560
1564
  });
1561
1565
  }, 500);
1562
1566
  }
1563
- function Z(e, t, n, s) {
1567
+ function Q(e, t, n, s) {
1564
1568
  const i = `${e.space}/api/directmessages/lite?with_favorites=false`;
1565
- w(e, (r) => {
1569
+ w(e, (c) => {
1566
1570
  f(i, {
1567
1571
  method: "GET",
1568
1572
  headers: {
1569
1573
  Accept: "application/json,text/javascript,*/*",
1570
- "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1574
+ "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
1571
1575
  },
1572
1576
  onComplete(o) {
1573
- const a = JSON.parse(o), c = [];
1577
+ const a = JSON.parse(o), r = [];
1574
1578
  a.result.forEach((p) => {
1575
- p.users = p.users.sort((u, m) => u.login.localeCompare(m.login)), p.users.length === t.length && c.push(p);
1579
+ p.users = p.users.sort((u, m) => u.login.localeCompare(m.login)), p.users.length === t.length && r.push(p);
1576
1580
  });
1577
- const d = t.sort(), l = c.find((p) => {
1581
+ const d = t.sort(), l = r.find((p) => {
1578
1582
  const u = [];
1579
1583
  return p.users.forEach((m) => {
1580
1584
  u.push(m.login);
@@ -1595,7 +1599,7 @@ function j(e, t, n = void 0, s = void 0) {
1595
1599
  uri: "/api/community",
1596
1600
  id_msg: `${t.id_msg}`,
1597
1601
  endUri: "/instantmessages"
1598
- }, r = `${i.base}${i.uri}/${i.id_msg}${i.endUri}`, o = {
1602
+ }, c = `${i.base}${i.uri}/${i.id_msg}${i.endUri}`, o = {
1599
1603
  author: { login: t.senderId, displayName: t.senderName },
1600
1604
  accessState: null,
1601
1605
  commentUri: null,
@@ -1605,8 +1609,8 @@ function j(e, t, n = void 0, s = void 0) {
1605
1609
  parentCommentUri: null,
1606
1610
  richMessage: t.msg
1607
1611
  };
1608
- console.log("_3dSwym_sendDirectMessageData url ", r), w(e, (a) => {
1609
- f(r, {
1612
+ console.log("_3dSwym_sendDirectMessageData url ", c), w(e, (a) => {
1613
+ f(c, {
1610
1614
  method: "POST",
1611
1615
  headers: {
1612
1616
  "Content-Type": "application/json",
@@ -1615,25 +1619,25 @@ function j(e, t, n = void 0, s = void 0) {
1615
1619
  },
1616
1620
  data: JSON.stringify(o),
1617
1621
  type: "json",
1618
- onComplete(c, d, l) {
1619
- const p = c;
1622
+ onComplete(r, d, l) {
1623
+ const p = r;
1620
1624
  p.status = l.status, p.response = JSON.parse(l.response), console.log("✅ _3dSwym_sendDirectMessageData => ", p), n && n(p);
1621
1625
  },
1622
- onFailure(c, d) {
1623
- const l = c;
1626
+ onFailure(r, d) {
1627
+ const l = r;
1624
1628
  l.msg = d.errormsg, l.errCode = d.errorcode, console.log("❌ sendDirectMessage => ", l), s && s(l);
1625
1629
  }
1626
1630
  });
1627
1631
  });
1628
1632
  }
1629
- function ee(e) {
1633
+ function Z(e) {
1630
1634
  const t = (/* @__PURE__ */ new Date()).toLocaleDateString(), n = (/* @__PURE__ */ new Date()).toLocaleTimeString();
1631
1635
  return `<p>${e} </p>
1632
1636
  <br/>
1633
1637
  <hr/>
1634
1638
  <p><u>envoyer :</u>Le <b>${t} à ${n}</b></p>`;
1635
1639
  }
1636
- const te = {
1640
+ const ee = {
1637
1641
  title: "TEST DEV COMMUNITY IDEA",
1638
1642
  // titre du post
1639
1643
  community_id: "YXdA5x4DSUKtlAi2wmnyTA",
@@ -1644,27 +1648,27 @@ const te = {
1644
1648
  // id de l'idee qui est créer au post (_3dSwym_postIdea)
1645
1649
  };
1646
1650
  function Be(e, t, n = void 0, s = void 0) {
1647
- const i = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
1648
- (c) => c.id === t.community_id
1651
+ const i = `${e.space}/api/idea/add`, c = e.swymCommunities.find(
1652
+ (r) => r.id === t.community_id
1649
1653
  ), o = e.swymCommunities.find(
1650
- (c) => c.title.toLowerCase() === t.community_title.toLowerCase()
1654
+ (r) => r.title.toLowerCase() === t.community_title.toLowerCase()
1651
1655
  ), a = {
1652
1656
  params: {
1653
1657
  title: t.title,
1654
1658
  // String, le nom de l'affaire
1655
- community_id: r?.id !== void 0 ? r.id : o.id,
1659
+ community_id: c?.id !== void 0 ? c.id : o.id,
1656
1660
  // String, l'id de la communauté
1657
- message: ne(t.text_html),
1661
+ message: te(t.text_html),
1658
1662
  // STRING => le contenue du message doit être au format HTML
1659
1663
  published: 1
1660
1664
  // 1 publier, 0 non publier
1661
1665
  }
1662
1666
  };
1663
- w(e, (c) => {
1667
+ w(e, (r) => {
1664
1668
  const d = {
1665
1669
  "Content-type": "application/json;charset=UTF-8",
1666
1670
  Accept: "application/json",
1667
- "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
1671
+ "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1668
1672
  };
1669
1673
  f(i, {
1670
1674
  method: "POST",
@@ -1683,7 +1687,7 @@ function Be(e, t, n = void 0, s = void 0) {
1683
1687
  });
1684
1688
  }
1685
1689
  function Ye(e, t, n = void 0, s = void 0) {
1686
- const i = `${e.space}/api/idea/delete`, r = {
1690
+ const i = `${e.space}/api/idea/delete`, c = {
1687
1691
  params: {
1688
1692
  community_id: t.community_id,
1689
1693
  ideationIds: [t.idee_id]
@@ -1697,14 +1701,14 @@ function Ye(e, t, n = void 0, s = void 0) {
1697
1701
  Accept: "application/json",
1698
1702
  "X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
1699
1703
  },
1700
- data: JSON.stringify(r),
1704
+ data: JSON.stringify(c),
1701
1705
  type: "json",
1702
- onComplete(a, c, d) {
1706
+ onComplete(a, r, d) {
1703
1707
  n && n(a);
1704
1708
  },
1705
- onFailure(a, c, d) {
1709
+ onFailure(a, r, d) {
1706
1710
  const l = a;
1707
- l.status = c.status, l.response = c.errormsg, s && s(l);
1711
+ l.status = r.status, l.response = r.errormsg, s && s(l);
1708
1712
  }
1709
1713
  });
1710
1714
  });
@@ -1712,13 +1716,13 @@ function Ye(e, t, n = void 0, s = void 0) {
1712
1716
  function He(e, t = "", n = void 0, s = void 0) {
1713
1717
  const i = e.tenant.toLowerCase() === "r1132101716373" ? "tFtz0G4MR6qNtKgJjNfTog" : e.tenant.toLowerCase() === "r1132101286859" ? "Qpv3HN-tTDOsU-7_c5DnDg" : "Template_d'idée_à_créer";
1714
1718
  t === "" && (t = i);
1715
- const r = `${e.space}/api/idea/get`, o = {
1719
+ const c = `${e.space}/api/idea/get`, o = {
1716
1720
  params: {
1717
1721
  id: t
1718
1722
  }
1719
1723
  };
1720
1724
  w(e, (a) => {
1721
- f(r, {
1725
+ f(c, {
1722
1726
  method: "POST",
1723
1727
  headers: {
1724
1728
  "Content-type": "application/json;charset=UTF-8",
@@ -1727,41 +1731,41 @@ function He(e, t = "", n = void 0, s = void 0) {
1727
1731
  },
1728
1732
  data: JSON.stringify(o),
1729
1733
  type: "json",
1730
- onComplete(c) {
1731
- const d = c;
1734
+ onComplete(r) {
1735
+ const d = r;
1732
1736
  d.msg = d.result.message, n && n(d);
1733
1737
  },
1734
- onFailure(c) {
1735
- const d = c;
1738
+ onFailure(r) {
1739
+ const d = r;
1736
1740
  d.status = headers.status, d.response = headers.errormsg, s && s(d);
1737
1741
  }
1738
1742
  });
1739
1743
  });
1740
1744
  }
1741
- function ze(e, t = te, n = void 0, s = void 0) {
1745
+ function ze(e, t = ee, n = void 0, s = void 0) {
1742
1746
  const i = {
1743
1747
  uri: "/api/idea/list",
1744
1748
  comId: `/community_id/${e.tenant.toLowerCase() === "r1132101716373" ? t.community_id : "bgnIsG74SUWswyGzS6NC6g"}`,
1745
1749
  limit: `/limit/${t.limit ? t.limit : 10}`
1746
- }, r = `${e.space}${i.uri}${i.comId}${i.limit}`;
1750
+ }, c = `${e.space}${i.uri}${i.comId}${i.limit}`;
1747
1751
  w(e, (o) => {
1748
- f(r, {
1752
+ f(c, {
1749
1753
  method: "GET",
1750
1754
  headers: {
1751
1755
  "X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
1752
1756
  },
1753
1757
  onComplete(a) {
1754
- const c = JSON.parse(a);
1755
- n && n(c);
1758
+ const r = JSON.parse(a);
1759
+ n && n(r);
1756
1760
  },
1757
- onFailure(a, c) {
1761
+ onFailure(a, r) {
1758
1762
  const d = a;
1759
- d.status = c.status, d.response = c.errormsg, s && s(d);
1763
+ d.status = r.status, d.response = r.errormsg, s && s(d);
1760
1764
  }
1761
1765
  });
1762
1766
  });
1763
1767
  }
1764
- function ne(e) {
1768
+ function te(e) {
1765
1769
  return !e || e === "" ? `<h2><u>INFORMATIONS AFFAIRE :</u></h2>
1766
1770
  <p><u>|⚠️<em> Merci de respecter l&#39;écriture des tags, en MAJUSCULES, nom complet, pas de caractères</em></u></p>
1767
1771
  <p><u><em>|spéciaux, séparation par &#34;_&#34; si besoin !</em></u></p>
@@ -1844,12 +1848,12 @@ function qe(e, t = void 0, n = void 0) {
1844
1848
  f(s, {
1845
1849
  method: "GET",
1846
1850
  headers: { "X-DS-SWYM-CSRFTOKEN": i.result.ServerToken },
1847
- onComplete(r, o, a) {
1848
- const c = JSON.parse(r);
1849
- t && t(c.result);
1851
+ onComplete(c, o, a) {
1852
+ const r = JSON.parse(c);
1853
+ t && t(r.result);
1850
1854
  },
1851
- onFailure(r, o, a) {
1852
- n && n({ response: r, headers: o, xhr: a });
1855
+ onFailure(c, o, a) {
1856
+ n && n({ response: c, headers: o, xhr: a });
1853
1857
  }
1854
1858
  });
1855
1859
  },
@@ -1860,11 +1864,11 @@ function Qe(e, t, n = void 0, s = void 0) {
1860
1864
  const i = e.space + "/api/user/find/login/" + t;
1861
1865
  w(
1862
1866
  e,
1863
- (r) => {
1867
+ (c) => {
1864
1868
  f(i, {
1865
1869
  method: "GET",
1866
- headers: { "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken },
1867
- onComplete(o, a, c) {
1870
+ headers: { "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken },
1871
+ onComplete(o, a, r) {
1868
1872
  const d = JSON.parse(o);
1869
1873
  n && n(d);
1870
1874
  },
@@ -1882,28 +1886,28 @@ function Ze(e) {
1882
1886
  }
1883
1887
  export {
1884
1888
  R as UUID,
1885
- ke as _3DSpace_Create_Doc,
1889
+ be as _3DSpace_Create_Doc,
1886
1890
  C as _3DSpace_csrf,
1887
1891
  I as _3DSpace_download_doc,
1888
1892
  W as _3DSpace_download_multidoc,
1889
1893
  G as _3DSpace_file_update,
1890
1894
  K as _3DSpace_file_update_csr,
1891
1895
  U as _3DSpace_file_url,
1892
- be as _3DSpace_file_url_csr,
1896
+ Ne as _3DSpace_file_url_csr,
1893
1897
  k as _3DSpace_get_csrf,
1894
1898
  J as _3DSpace_get_docInfo,
1895
1899
  X as _3DSpace_get_downloadTicket_multidoc,
1896
1900
  N as _3DSpace_get_securityContexts,
1897
- je as _3DSpace_lifecycle_changeRevision,
1901
+ $e as _3DSpace_lifecycle_changeRevision,
1898
1902
  De as _3DSpace_lifecycle_changeState,
1899
- Ue as _3DSpace_lifecycle_getGraph,
1900
- $e as _3DSpace_lifecycle_getNextRevision,
1901
- Fe as _3DSpace_lifecycle_getNextStates,
1903
+ Fe as _3DSpace_lifecycle_getGraph,
1904
+ Ue as _3DSpace_lifecycle_getNextRevision,
1905
+ ke as _3DSpace_lifecycle_getNextStates,
1902
1906
  We as _3DSwim_getAllCommunities,
1903
- Q as _3DSwim_getMembersCommunity,
1907
+ q as _3DSwim_getMembersCommunity,
1904
1908
  Ve as _3DSwym_buildDirectMessage,
1905
1909
  Ye as _3DSwym_deleteIdea,
1906
- Z as _3DSwym_findCommunityToInstantMSG,
1910
+ Q as _3DSwym_findCommunityToInstantMSG,
1907
1911
  Ge as _3DSwym_getAllNews,
1908
1912
  Ke as _3DSwym_getFamiliarPeople,
1909
1913
  Xe as _3DSwym_getIdeaStatusMaturity,
@@ -1914,40 +1918,40 @@ export {
1914
1918
  w as _3DSwym_get_version,
1915
1919
  Be as _3DSwym_postIdea,
1916
1920
  j as _3DSwym_sendMessageData,
1917
- Se as _AppMngt_get_info_user,
1918
- he as _AppMngt_get_users,
1919
- me as _getPlateformInfos,
1920
- fe as _getPlatformServices,
1921
+ he as _AppMngt_get_info_user,
1922
+ ge as _AppMngt_get_users,
1923
+ fe as _getPlateformInfos,
1924
+ ue as _getPlatformServices,
1921
1925
  f as _httpCallAuthenticated,
1922
- le as _setDraggable,
1923
- ue as _setDroppable,
1924
- pe as _setupTagger,
1926
+ de as _setDraggable,
1927
+ pe as _setDroppable,
1928
+ le as _setupTagger,
1925
1929
  Le as addTagToDoc,
1926
- ge as compass_getListAdditionalApps,
1930
+ me as compass_getListAdditionalApps,
1927
1931
  L as couleurs,
1928
- _e as createUserGroups,
1929
- B as dataMixing,
1930
- Te as deleteUserGroups,
1931
- re as findAdresse,
1932
- Re as getAllContextSecurity,
1933
- Ae as getCSRFToken,
1934
- oe as getCommunes,
1935
- ye as getComplementUG,
1936
- Ie as getDataFrom3DSpace,
1937
- ce as getDataFromGouvFr,
1938
- Me as getDatasByTenant,
1939
- V as getDatasFrom3DSpace,
1940
- ve as getDownloadDocument,
1932
+ Se as createUserGroups,
1933
+ V as dataMixing,
1934
+ we as deleteUserGroups,
1935
+ oe as findAdresse,
1936
+ Ae as getAllContextSecurity,
1937
+ je as getCSRFToken,
1938
+ ie as getCommunes,
1939
+ _e as getComplementUG,
1940
+ Re as getDataFrom3DSpace,
1941
+ re as getDataFromGouvFr,
1942
+ Pe as getDatasByTenant,
1943
+ Me as getDatasFrom3DSpace,
1944
+ Ie as getDownloadDocument,
1941
1945
  Je as getInfoDocTags,
1942
- we as getUserGroupsList,
1946
+ ye as getUserGroupsList,
1943
1947
  E as getUsersGroupRules,
1944
- Pe as get_3DSpace_csrf,
1945
- Ce as patchUserGroups,
1946
- Oe as patchUserGroupsControl,
1947
- xe as pushDataIn3DSpace,
1948
- Ne as readUserGroupControl,
1948
+ xe as get_3DSpace_csrf,
1949
+ Te as patchUserGroups,
1950
+ Ce as patchUserGroupsControl,
1951
+ ve as pushDataIn3DSpace,
1952
+ Oe as readUserGroupControl,
1949
1953
  Ee as removeTagToDoc,
1950
1954
  Ze as sayHello,
1951
- de as updateEvent
1955
+ ce as updateEvent
1952
1956
  };
1953
1957
  //# sourceMappingURL=wb3Api.js.map