@beam3_dev/api_module 0.0.341 → 0.0.343

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 z = {
34
34
  b3Edit8: "#616161",
35
35
  b3Edit9: "#795548"
36
36
  };
37
- async function xe(e, n = void 0, t = void 0) {
37
+ async function Ue(e, n = void 0, t = void 0) {
38
38
  const i = parseInt(e);
39
39
  await fetch(
40
40
  "https://apicarto.ign.fr/api/codes-postaux/communes/" + i,
@@ -50,7 +50,7 @@ async function xe(e, n = void 0, t = void 0) {
50
50
  t && t(s), console.error("Erreur : " + s);
51
51
  });
52
52
  }
53
- async function Ie(e, n = void 0, t = void 0) {
53
+ async function xe(e, n = void 0, t = 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,15 +65,15 @@ async function Ie(e, n = void 0, t = void 0) {
65
65
  t && t(i), console.error("Erreur : " + i);
66
66
  });
67
67
  }
68
- async function Ne(e, n = z) {
68
+ async function Fe(e, n = z) {
69
69
  let t = T.now().year;
70
- const i = e, s = [], r = (o) => {
71
- for (let c in o)
72
- s.push({ date: c, comment: o[c] });
70
+ const i = e, s = [], r = (a) => {
71
+ for (let c in a)
72
+ s.push({ date: c, comment: a[c] });
73
73
  };
74
- for (let o = t; o <= t + 1; o++)
74
+ for (let a = t; a <= t + 1; a++)
75
75
  await fetch(
76
- "https://calendrier.api.gouv.fr/jours-feries/metropole/" + o + ".json",
76
+ "https://calendrier.api.gouv.fr/jours-feries/metropole/" + a + ".json",
77
77
  {
78
78
  method: "GET",
79
79
  headers: {
@@ -84,30 +84,30 @@ async function Ne(e, n = z) {
84
84
  r(c);
85
85
  }).catch((c) => console.error("Erreur : " + c));
86
86
  return (() => {
87
- const o = i.length === 0 ? {
87
+ const a = i.length === 0 ? {
88
88
  events: []
89
89
  } : i;
90
90
  for (let c of s)
91
- o.events.findIndex(
91
+ a.events.findIndex(
92
92
  (u) => u.start === T.fromISO(c.date).toISODate() && u.name === "Férié : " + c.comment
93
- ) === -1 && o.events.push({
93
+ ) === -1 && a.events.push({
94
94
  name: "Férié : " + c.comment,
95
95
  start: T.fromISO(c.date).toISODate(),
96
96
  end: T.fromISO(c.date).toISODate(),
97
97
  color: n.b3BusinnessDays,
98
98
  timed: !1
99
99
  });
100
- return o;
100
+ return a;
101
101
  })();
102
102
  }
103
103
  function H(e, n, t) {
104
- const { credentials: i, myArray: s, chunk: r, fn_to_call: a } = e, o = [];
104
+ const { credentials: i, myArray: s, chunk: r, fn_to_call: o } = e, a = [];
105
105
  for (let c = 0; c < s.length; c += r) {
106
106
  const d = s.slice(c, c + r);
107
- o.push(d);
107
+ a.push(d);
108
108
  }
109
109
  Q(
110
- { credentials: i, chunks: o, initLoop: 0, fn: a },
110
+ { credentials: i, chunks: a, initLoop: 0, fn: o },
111
111
  (c) => {
112
112
  n && n(c);
113
113
  },
@@ -117,12 +117,12 @@ function H(e, n, t) {
117
117
  );
118
118
  }
119
119
  function Q(e, n, t) {
120
- const { credentials: i, chunks: s, initLoop: r, fn: a } = e, o = (c) => {
121
- a(
120
+ const { credentials: i, chunks: s, initLoop: r, fn: o } = e, a = (c) => {
121
+ o(
122
122
  i,
123
123
  s[c],
124
124
  () => {
125
- c++, c < s.length && o(c);
125
+ c++, c < s.length && a(c);
126
126
  },
127
127
  (d) => {
128
128
  n && n(d);
@@ -132,9 +132,9 @@ function Q(e, n, t) {
132
132
  }
133
133
  );
134
134
  };
135
- o(r);
135
+ a(r);
136
136
  }
137
- async function Re(e, n, t = !0) {
137
+ async function Ne(e, n, t = !0) {
138
138
  const i = e.events.findIndex((s) => s.uuid === n.uuid);
139
139
  return i === -1 ? e.events.push(n) : t ? e.events[i] = n : e.events.splice(i, 1), e.length > 0 && e.sort((s, r) => s.start - r.start), e;
140
140
  }
@@ -143,7 +143,7 @@ function m(e, n) {
143
143
  t.authenticatedRequest(e, n);
144
144
  });
145
145
  }
146
- function Fe(e, n, t) {
146
+ function Ie(e, n, t) {
147
147
  $(["DS/DataDragAndDrop/DataDragAndDrop"], (i) => {
148
148
  i.draggable(e, {
149
149
  data: n,
@@ -151,7 +151,7 @@ function Fe(e, n, t) {
151
151
  });
152
152
  });
153
153
  }
154
- function ke(e, n = void 0) {
154
+ function Re(e, n = void 0) {
155
155
  $(["DS/TagNavigatorProxy/TagNavigatorProxy"], (t) => {
156
156
  let i;
157
157
  i === void 0 && (i = t.createProxy({
@@ -160,14 +160,14 @@ function ke(e, n = void 0) {
160
160
  }), n !== void 0 && i.addEvent("onFilterSubjectsChange", n)), i.setSubjectsTags(e);
161
161
  });
162
162
  }
163
- function je(e, n) {
163
+ function ke(e, n) {
164
164
  $(["DS/DataDragAndDrop/DataDragAndDrop"], (t) => {
165
165
  t.droppable(e, {
166
166
  drop: n
167
167
  });
168
168
  });
169
169
  }
170
- async function ve(e, n = void 0, t = void 0) {
170
+ async function je(e, n = void 0, t = void 0) {
171
171
  await $(
172
172
  ["DS/i3DXCompassServices/i3DXCompassServices"],
173
173
  (i) => {
@@ -195,7 +195,7 @@ function Z() {
195
195
  };
196
196
  }), e;
197
197
  }
198
- function De(e, n = void 0, t = void 0) {
198
+ function ve(e, n = void 0, t = void 0) {
199
199
  if (e.tenant) {
200
200
  const i = `https://${e.tenant}-eu1.iam.3dexperience.3ds.com/api/authenticated/user/me?xrequestedwith=xmlhttprequest`;
201
201
  m(i, {
@@ -209,15 +209,15 @@ function De(e, n = void 0, t = void 0) {
209
209
  });
210
210
  }
211
211
  }
212
- function J(e, n = void 0, t = void 0) {
212
+ function M(e, n = void 0, t = void 0) {
213
213
  if (e.tenant) {
214
214
  const i = `https://${e.tenant.toLowerCase()}-eu1-compass.3dexperience.3ds.com/enovia/resources/AppsMngt/api/v1/services?platform=${e.tenant.toUpperCase()}&cors=true&xrequestedwith=xmlhttprequest`;
215
215
  m(i, {
216
216
  onComplete(s) {
217
217
  const r = typeof s == "string" ? JSON.parse(s) : s;
218
218
  if (r && "platforms" in r) {
219
- const a = r.platforms.find((o) => o.id === e.tenant.toUpperCase());
220
- n && a ? n(a) : t && t("_getServiceUrl return listServiceUrl = undefined");
219
+ const o = r.platforms.find((a) => a.id === e.tenant.toUpperCase());
220
+ n && o ? n(o) : t && t("_getServiceUrl return listServiceUrl = undefined");
221
221
  } else
222
222
  t && t("_getServiceUrl return oResponse = undefined");
223
223
  },
@@ -227,15 +227,15 @@ function J(e, n = void 0, t = void 0) {
227
227
  });
228
228
  }
229
229
  }
230
- function Ae(e, n = void 0, t = void 0) {
230
+ function De(e, n = void 0, t = void 0) {
231
231
  if (e.tenant) {
232
232
  const i = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dpassport&platformId=${e.tenant}`;
233
233
  m(i, {
234
234
  onComplete(s) {
235
235
  const r = JSON.parse(s);
236
236
  if (Array.isArray(r) && r.length > 0) {
237
- const a = `${r[0].services[0].url}`;
238
- n && n(a);
237
+ const o = `${r[0].services[0].url}`;
238
+ n && n(o);
239
239
  }
240
240
  },
241
241
  onFailure(s) {
@@ -244,7 +244,7 @@ function Ae(e, n = void 0, t = void 0) {
244
244
  });
245
245
  }
246
246
  }
247
- function Pe(e, n = void 0, t = void 0) {
247
+ function Ae(e, n = void 0, t = void 0) {
248
248
  if (e.tenant) {
249
249
  const i = `https://eu1-registry.3dexperience.3ds.com/api/v1/platform/instance?id=${e.tenant.toLowerCase()}`;
250
250
  m(i, {
@@ -258,7 +258,7 @@ function Pe(e, n = void 0, t = void 0) {
258
258
  });
259
259
  }
260
260
  }
261
- function Le(e, n, t) {
261
+ function Pe(e, n, t) {
262
262
  const i = {
263
263
  base: `${e.space}`,
264
264
  uri: "/resources/AppsMngt/api/custom/applications",
@@ -271,51 +271,51 @@ function Le(e, n, t) {
271
271
  "Content-Type": "application/json",
272
272
  Accept: "application/json"
273
273
  },
274
- onComplete(r, a, o) {
274
+ onComplete(r, o, a) {
275
275
  const c = JSON.parse(r), d = c.data.map((u) => {
276
276
  const p = u.attributes.name, f = u.id;
277
277
  return { name: p, id: f };
278
278
  });
279
279
  n && n(d, c);
280
280
  },
281
- onFailure(r, a) {
282
- const o = r;
283
- o.msg = a.errormsg, o.errCode = a.errorcode, t && t(o);
281
+ onFailure(r, o) {
282
+ const a = r;
283
+ a.msg = o.errormsg, a.errCode = o.errorcode, t && t(a);
284
284
  }
285
285
  });
286
286
  }
287
- function Je(e, n = void 0, t = void 0) {
287
+ function Le(e, n = void 0, t = void 0) {
288
288
  let i = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
289
289
  m(i, {
290
- onComplete(s, r, a) {
291
- const o = JSON.parse(s);
292
- console.log("_AppMngt_get_users => ", o), n && n(o);
290
+ onComplete(s, r, o) {
291
+ const a = JSON.parse(s);
292
+ console.log("_AppMngt_get_users => ", a), n && n(a);
293
293
  },
294
294
  onFailure(s, r) {
295
- const a = s;
296
- a.msg = r.errormsg, a.errCode = r.errorcode, t && t(a);
295
+ const o = s;
296
+ o.msg = r.errormsg, o.errCode = r.errorcode, t && t(o);
297
297
  }
298
298
  });
299
299
  }
300
300
  function Me(e, n, t = void 0, i = void 0) {
301
301
  let s = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${n}`;
302
302
  m(s, {
303
- onComplete(r, a, o) {
303
+ onComplete(r, o, a) {
304
304
  const c = JSON.parse(r);
305
305
  t && t(c);
306
306
  },
307
- onFailure(r, a) {
308
- const o = r;
309
- o.msg = a.errormsg, o.errCode = a.errorcode, i && i(o);
307
+ onFailure(r, o) {
308
+ const a = r;
309
+ a.msg = o.errormsg, a.errCode = o.errorcode, i && i(a);
310
310
  }
311
311
  });
312
312
  }
313
- const I = {
313
+ const F = {
314
314
  "Content-Type": "application/json",
315
315
  Accept: "application/json,text/javascript,*/*"
316
316
  };
317
- function Ge(e, n, t = void 0, i = void 0) {
318
- const { space: s, currentUser: r } = e, o = `${s}${{
317
+ function Je(e, n, t = void 0, i = void 0) {
318
+ const { space: s, currentUser: r } = e, a = `${s}${{
319
319
  URIUGr: "/3drdfpersist/resources/v1/usersgroup"
320
320
  }.URIUGr}`, c = {
321
321
  groups: [
@@ -329,9 +329,9 @@ function Ge(e, n, t = void 0, i = void 0) {
329
329
  }
330
330
  ]
331
331
  };
332
- m(o, {
332
+ m(a, {
333
333
  method: "POST",
334
- headers: I,
334
+ headers: F,
335
335
  data: JSON.stringify(c),
336
336
  onComplete(d) {
337
337
  t && t(JSON.parse(d));
@@ -343,8 +343,8 @@ function Ge(e, n, t = void 0, i = void 0) {
343
343
  }
344
344
  });
345
345
  }
346
- function Be(e, n, t = void 0, i = void 0) {
347
- const { space: s, tenant: r } = e, a = s, o = `/3drdfpersist/v1/resources/${n}`, c = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${r}`, d = `${a}${o}${c}`;
346
+ function Ge(e, n, t = void 0, i = void 0) {
347
+ const { space: s, tenant: r } = e, o = s, a = `/3drdfpersist/v1/resources/${n}`, c = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${r}`, d = `${o}${a}${c}`;
348
348
  m(d, {
349
349
  opts: {
350
350
  method: "GET",
@@ -363,10 +363,10 @@ function Be(e, n, t = void 0, i = void 0) {
363
363
  });
364
364
  }
365
365
  function ee(e, n = void 0, t = void 0) {
366
- const { _usersgroup: i, tenant: s } = e, r = i, a = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", o = `?tenant=dstenant:${s}`, c = {
366
+ const { _usersgroup: i, tenant: s } = e, r = i, o = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${s}`, c = {
367
367
  method: "GET",
368
368
  Accept: "application/json,*/*,test/javascript"
369
- }, d = `${r}${a}${o}`;
369
+ }, d = `${r}${o}${a}`;
370
370
  m(d, {
371
371
  OPTsH: c,
372
372
  onComplete(u) {
@@ -378,10 +378,10 @@ function ee(e, n = void 0, t = void 0) {
378
378
  }
379
379
  });
380
380
  }
381
- function Ee(e, n = void 0, t = void 0) {
381
+ function Be(e, n = void 0, t = void 0) {
382
382
  const { _usersgroup: i, currentUser: s, numMax: r } = e;
383
383
  r || (r = 50);
384
- const a = "/3drdfpersist/resources/v1/usersgroup", o = "?select=uri,title,owner,members", c = `&top=${r}`, d = `${i}${a}${o}${c}`, p = { method: "GET", headers: {
384
+ const o = "/3drdfpersist/resources/v1/usersgroup", a = "?select=uri,title,owner,members", c = `&top=${r}`, d = `${i}${o}${a}${c}`, p = { method: "GET", headers: {
385
385
  "Content-Type": "application/json",
386
386
  Accept: "application/json,text/javascript,*/*"
387
387
  } };
@@ -420,7 +420,7 @@ function Ee(e, n = void 0, t = void 0) {
420
420
  t(l);
421
421
  }
422
422
  }
423
- function Ke(e, n, t) {
423
+ function Ee(e, n, t) {
424
424
  const { _usersgroup: i, list_uris: s } = e;
425
425
  if (!s || s.length === 0) {
426
426
  t({ msg: "getUserGroupsByURIList: lists_uri is empty or undefined" });
@@ -430,20 +430,20 @@ function Ke(e, n, t) {
430
430
  baseUrl: i,
431
431
  uri: "/3drdfpersist/resources/v1/usersgroup/groups",
432
432
  opt: "?select=uri,title,owner,members"
433
- }, a = `${r.baseUrl}${r.uri}${r.opt}`, o = {
433
+ }, o = `${r.baseUrl}${r.uri}${r.opt}`, a = {
434
434
  method: "POST",
435
- headers: I,
435
+ headers: F,
436
436
  data: JSON.stringify({ groups: s })
437
437
  };
438
438
  try {
439
- m(a, {
440
- ...o,
439
+ m(o, {
440
+ ...a,
441
441
  onComplete(c) {
442
442
  n && n(JSON.parse(c));
443
443
  },
444
444
  onFailure(c, d) {
445
445
  const u = {
446
- sendOptions: o,
446
+ sendOptions: a,
447
447
  error: new Error("Erreur sur la fonction getUserGroupsByURIList()", {
448
448
  cause: c
449
449
  }),
@@ -455,7 +455,7 @@ function Ke(e, n, t) {
455
455
  });
456
456
  } catch (c) {
457
457
  const d = {
458
- sendOptions: o,
458
+ sendOptions: a,
459
459
  infoError: c,
460
460
  fonction: "getUserGroupsByURIList()",
461
461
  error: new Error("Erreur sur la fonction getUserGroupsByURIList()", {
@@ -465,7 +465,7 @@ function Ke(e, n, t) {
465
465
  t && t(d);
466
466
  }
467
467
  }
468
- function qe(e, n, t) {
468
+ function Ke(e, n, t) {
469
469
  const { _usersgroup: i, list_emails: s } = e;
470
470
  if (!s || s.length === 0) {
471
471
  t({
@@ -477,14 +477,14 @@ function qe(e, n, t) {
477
477
  baseUrl: i,
478
478
  uri: "/3drdfpersist/resources/v1/usersgroup/users/locate",
479
479
  opt: "?person_ident=email"
480
- }, a = `${r.baseUrl}${r.uri}${r.opt}`, o = {
480
+ }, o = `${r.baseUrl}${r.uri}${r.opt}`, a = {
481
481
  method: "POST",
482
- headers: I,
482
+ headers: F,
483
483
  data: JSON.stringify({ users: s })
484
484
  };
485
485
  try {
486
- m(a, {
487
- ...o,
486
+ m(o, {
487
+ ...a,
488
488
  onComplete(c) {
489
489
  if (n) {
490
490
  const d = JSON.parse(c);
@@ -493,7 +493,7 @@ function qe(e, n, t) {
493
493
  },
494
494
  onFailure(c, d) {
495
495
  const u = {
496
- sendOptions: o,
496
+ sendOptions: a,
497
497
  error: new Error(
498
498
  "Erreur sur la fonction getUserGroupsByEmailList()",
499
499
  {
@@ -508,7 +508,7 @@ function qe(e, n, t) {
508
508
  });
509
509
  } catch (c) {
510
510
  const d = {
511
- sendOptions: o,
511
+ sendOptions: a,
512
512
  infoError: c,
513
513
  fonction: "getUserGroupsByEmailList()",
514
514
  error: new Error("Erreur sur la fonction getUserGroupsByEmailList()", {
@@ -518,24 +518,24 @@ function qe(e, n, t) {
518
518
  t && t(d);
519
519
  }
520
520
  }
521
- function Xe(e, n) {
521
+ function qe(e, n) {
522
522
  const { space: t } = e, s = `${t}/3drdfpersist/resources/v1/usersgroup/${n}`;
523
523
  m(s, {
524
524
  method: "DELETE"
525
525
  });
526
526
  }
527
- function We(e, n, t, i = void 0, s = void 0) {
528
- const { space: r, tenant: a } = e, o = {
527
+ function Xe(e, n, t, i = void 0, s = void 0) {
528
+ const { space: r, tenant: o } = e, a = {
529
529
  URITI: "/3drdfpersist/resources/v1/template-instances",
530
530
  URIUGr: "/3drdfpersist/resources/v1/usersgroup",
531
531
  nextURICh: "/characteristics",
532
532
  nextURIGr: "/group",
533
533
  nexURImem: "/members",
534
534
  OPTsTI: "?$mask=dsaccess:Mask.GroupUI.Properties",
535
- OPTsTenant: `tenant=dstenant:${a}`
536
- }, c = t, d = `${r}${o.URIUGr}/${n}`, u = JSON.stringify(c);
535
+ OPTsTenant: `tenant=dstenant:${o}`
536
+ }, c = t, d = `${r}${a.URIUGr}/${n}`, u = JSON.stringify(c);
537
537
  m(d, {
538
- headers: I,
538
+ headers: F,
539
539
  method: "PATCH",
540
540
  data: u,
541
541
  type: "json",
@@ -547,11 +547,11 @@ function We(e, n, t, i = void 0, s = void 0) {
547
547
  }
548
548
  });
549
549
  }
550
- function Ve(e, n, t, i = void 0, s = void 0) {
551
- const { space: r } = e, o = `${r}/3drdfpersist/resources/v1/usersgroup/${n}/sharing`;
552
- m(o, {
550
+ function We(e, n, t, i = void 0, s = void 0) {
551
+ const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${n}/sharing`;
552
+ m(a, {
553
553
  method: "PATCH",
554
- headers: I,
554
+ headers: F,
555
555
  data: JSON.stringify(t),
556
556
  type: "json",
557
557
  onComplete(d) {
@@ -562,9 +562,9 @@ function Ve(e, n, t, i = void 0, s = void 0) {
562
562
  }
563
563
  });
564
564
  }
565
- function Ye(e, n, t = void 0, i = void 0) {
566
- const { space: s } = e, a = `${s}/3drdfpersist/resources/v1/usersgroup/${n}/sharing`;
567
- m(a, {
565
+ function Ve(e, n, t = void 0, i = void 0) {
566
+ const { space: s } = e, o = `${s}/3drdfpersist/resources/v1/usersgroup/${n}/sharing`;
567
+ m(o, {
568
568
  opts: {
569
569
  method: "GET",
570
570
  headers: {
@@ -587,8 +587,8 @@ async function te(e, n, t) {
587
587
  onComplete(s) {
588
588
  s = JSON.parse(s), n && n(s.csrf);
589
589
  },
590
- onFailure(s, r, a) {
591
- t && t({ error: s, headers: r, xhr: a });
590
+ onFailure(s, r, o) {
591
+ t && t({ error: s, headers: r, xhr: o });
592
592
  }
593
593
  });
594
594
  }
@@ -604,11 +604,11 @@ var se = function(e, n, t, i) {
604
604
  return s;
605
605
  var r = /\+/g;
606
606
  e = e.split(n);
607
- var a = 1e3;
608
- i && typeof i.maxKeys == "number" && (a = i.maxKeys);
609
- var o = e.length;
610
- a > 0 && o > a && (o = a);
611
- for (var c = 0; c < o; ++c) {
607
+ var o = 1e3;
608
+ i && typeof i.maxKeys == "number" && (o = i.maxKeys);
609
+ var a = e.length;
610
+ o > 0 && a > o && (a = o);
611
+ for (var c = 0; c < a; ++c) {
612
612
  var d = e[c].replace(r, "%20"), u = d.indexOf(t), p, f, l, g;
613
613
  u >= 0 ? (p = d.substr(0, u), f = d.substr(u + 1)) : (p = d, f = ""), l = decodeURIComponent(p), g = decodeURIComponent(f), ne(s, l) ? Array.isArray(s[l]) ? s[l].push(g) : s[l] = [s[l], g] : s[l] = g;
614
614
  }
@@ -627,14 +627,14 @@ var se = function(e, n, t, i) {
627
627
  }, ie = function(e, n, t, i) {
628
628
  return n = n || "&", t = t || "=", e === null && (e = void 0), typeof e == "object" ? Object.keys(e).map(function(s) {
629
629
  var r = encodeURIComponent(U(s)) + t;
630
- return Array.isArray(e[s]) ? e[s].map(function(a) {
631
- return r + encodeURIComponent(U(a));
630
+ return Array.isArray(e[s]) ? e[s].map(function(o) {
631
+ return r + encodeURIComponent(U(o));
632
632
  }).join(n) : r + encodeURIComponent(U(e[s]));
633
633
  }).filter(Boolean).join(n) : i ? encodeURIComponent(U(i)) + t + encodeURIComponent(U(e)) : "";
634
634
  };
635
635
  x.decode = x.parse = se;
636
636
  x.encode = x.stringify = ie;
637
- async function M(e, n = void 0, t = void 0, i = void 0) {
637
+ async function J(e, n = void 0, t = void 0, i = void 0) {
638
638
  const s = e.space;
639
639
  if (n === void 0) {
640
640
  console.log("Le paramètre docid est obligatoire");
@@ -642,22 +642,22 @@ async function M(e, n = void 0, t = void 0, i = void 0) {
642
642
  }
643
643
  const r = s + `/resources/v1/modeler/documents/${n}`;
644
644
  m(r, {
645
- onComplete(a, o, c) {
646
- const d = JSON.parse(a);
645
+ onComplete(o, a, c) {
646
+ const d = JSON.parse(o);
647
647
  t && t(d);
648
648
  },
649
- onFailure(a) {
650
- i && i(a);
649
+ onFailure(o) {
650
+ i && i(o);
651
651
  }
652
652
  });
653
653
  }
654
- async function oe(e, n = void 0, t = void 0, i = void 0) {
654
+ async function Ye(e, n = void 0, t = void 0, i = void 0) {
655
655
  const s = e.space;
656
656
  if (n === void 0) {
657
657
  console.log("Le paramètre docids est obligatoire");
658
658
  return;
659
659
  }
660
- let r = `${s}/resources/v1/modeler/documents/ids?$include=!files,!ownerInfo,!originatorInfo,!relOwnerInfo'`, a = x.stringify({
660
+ let r = `${s}/resources/v1/modeler/documents/ids?$include=!files,!ownerInfo,!originatorInfo,!relOwnerInfo'`, o = x.stringify({
661
661
  $ids: n.toString().replace('"', "").replace("[", "").replace("]", "")
662
662
  });
663
663
  m(r, {
@@ -665,23 +665,23 @@ async function oe(e, n = void 0, t = void 0, i = void 0) {
665
665
  headers: {
666
666
  "Content-Type": "application/x-www-form-urlencoded"
667
667
  },
668
- data: a,
669
- onComplete(o, c, d) {
670
- const u = JSON.parse(o);
668
+ data: o,
669
+ onComplete(a, c, d) {
670
+ const u = JSON.parse(a);
671
671
  t && t(u);
672
672
  },
673
- onFailure(o) {
674
- i && i(o);
673
+ onFailure(a) {
674
+ i && i(a);
675
675
  }
676
676
  });
677
677
  }
678
- function R(e, n = void 0, t = void 0) {
678
+ function I(e, n = void 0, t = void 0) {
679
679
  if (e.objID && e.objID !== "") {
680
680
  let i = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
681
681
  m(i, {
682
- onComplete(s, r, a) {
683
- const o = JSON.parse(s);
684
- e.success = !0, e.token = o?.csrf?.value, e.datas = o?.data[0], n && n(e);
682
+ onComplete(s, r, o) {
683
+ const a = JSON.parse(s);
684
+ e.success = !0, e.token = a?.csrf?.value, e.datas = a?.data[0], n && n(e);
685
685
  },
686
686
  onFailure(s) {
687
687
  t && t(s);
@@ -702,15 +702,15 @@ function b(e, n = void 0, t = void 0) {
702
702
  if (e.space) {
703
703
  const i = e.space + "/resources/v1/application/CSRF";
704
704
  m(i, {
705
- onComplete(s, r, a) {
706
- const o = JSON.parse(s);
707
- n && n(o.csrf.value);
705
+ onComplete(s, r, o) {
706
+ const a = JSON.parse(s);
707
+ n && n(a.csrf.value);
708
708
  },
709
- onFailure(s, r, a) {
709
+ onFailure(s, r, o) {
710
710
  t && t({
711
711
  response: s,
712
712
  headers: r,
713
- xhr: a
713
+ xhr: o
714
714
  });
715
715
  }
716
716
  });
@@ -719,7 +719,7 @@ function b(e, n = void 0, t = void 0) {
719
719
  }
720
720
  function j(e, n = void 0, t = void 0) {
721
721
  let i = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
722
- R(
722
+ I(
723
723
  e,
724
724
  (s) => {
725
725
  m(i, {
@@ -727,12 +727,12 @@ function j(e, n = void 0, t = void 0) {
727
727
  headers: {
728
728
  ENO_CSRF_TOKEN: e.token
729
729
  },
730
- onComplete(r, a) {
730
+ onComplete(r, o) {
731
731
  const c = JSON.parse(r).data[0].dataelements.ticketURL;
732
- n && n(c, a);
732
+ n && n(c, o);
733
733
  },
734
- onFailure(r, a) {
735
- console.warn("☠️ error => ", r, a), t && t(r, a);
734
+ onFailure(r, o) {
735
+ console.warn("☠️ error => ", r, o), t && t(r, o);
736
736
  }
737
737
  });
738
738
  },
@@ -748,23 +748,23 @@ function ze(e, n, t = void 0, i = void 0, s = void 0) {
748
748
  headers: {
749
749
  ENO_CSRF_TOKEN: t
750
750
  },
751
- onComplete(a) {
752
- let o = JSON.parse(a);
753
- if (console.log("☠️ info => ", o), o.success === !0)
751
+ onComplete(o) {
752
+ let a = JSON.parse(o);
753
+ if (console.log("☠️ info => ", a), a.success === !0)
754
754
  try {
755
- const c = o.data[0].dataelements.ticketURL;
755
+ const c = a.data[0].dataelements.ticketURL;
756
756
  i && i(c);
757
757
  } catch (c) {
758
758
  s && s(c);
759
759
  }
760
760
  },
761
- onFailure(a) {
762
- s && s(a);
761
+ onFailure(o) {
762
+ s && s(o);
763
763
  }
764
764
  });
765
765
  }
766
- function G(e, n, t, i, s, r = void 0, a = void 0) {
767
- const o = () => ae(
766
+ function G(e, n, t, i, s, r = void 0, o = void 0) {
767
+ const a = () => oe(
768
768
  e,
769
769
  n,
770
770
  t,
@@ -772,20 +772,20 @@ function G(e, n, t, i, s, r = void 0, a = void 0) {
772
772
  s,
773
773
  e.token,
774
774
  r,
775
- a
775
+ o
776
776
  );
777
- e.token ? o() : R(
777
+ e.token ? a() : I(
778
778
  e,
779
779
  n,
780
780
  (c) => {
781
781
  console.log(
782
782
  "_3DSpace_file_update | _3DSpace_get_csrf| onDone | result",
783
783
  c
784
- ), e.token = c, o();
784
+ ), e.token = c, a();
785
785
  }
786
786
  );
787
787
  }
788
- function ae(e, n, t, i, s, r, a = void 0, o = void 0) {
788
+ function oe(e, n, t, i, s, r, o = void 0, a = void 0) {
789
789
  const c = e.space + `/resources/v1/modeler/documents/files/CheckinTicket?tenant=${e.tenant.toUpperCase()}&e6w-lang=fr&e6w-timezone=-60&xrequestedwith=xmlhttprequest`;
790
790
  m(c, {
791
791
  method: "PUT",
@@ -835,10 +835,10 @@ function ae(e, n, t, i, s, r, a = void 0, o = void 0) {
835
835
  }),
836
836
  type: "json",
837
837
  onComplete(_) {
838
- a && a(_);
838
+ o && o(_);
839
839
  },
840
840
  onFailure(_) {
841
- o && o(_);
841
+ a && a(_);
842
842
  }
843
843
  };
844
844
  e.tenant.toUpperCase(), m(
@@ -846,7 +846,7 @@ function ae(e, n, t, i, s, r, a = void 0, o = void 0) {
846
846
  w
847
847
  );
848
848
  }, y.onFailure = function(S) {
849
- o && o(S);
849
+ a && a(S);
850
850
  }, y.timeout = 0, m(l.ticketURL, y);
851
851
  }
852
852
  });
@@ -858,8 +858,8 @@ async function He(e, n, t = void 0, i = void 0) {
858
858
  console.warn("Error: docId undefined"), i && i("Error: docId undefined");
859
859
  return;
860
860
  }
861
- let a = `${e.space}/resources/v1/modeler/documents/${n}`;
862
- const o = JSON.stringify({
861
+ let o = `${e.space}/resources/v1/modeler/documents/${n}`;
862
+ const a = JSON.stringify({
863
863
  data: [
864
864
  {
865
865
  dataelements: {
@@ -869,12 +869,12 @@ async function He(e, n, t = void 0, i = void 0) {
869
869
  }
870
870
  ]
871
871
  });
872
- m(a, {
872
+ m(o, {
873
873
  method: "PUT",
874
874
  headers: {
875
875
  ENO_CSRF_TOKEN: e.token
876
876
  },
877
- data: o,
877
+ data: a,
878
878
  type: "json",
879
879
  onComplete(c) {
880
880
  t && t(c);
@@ -885,8 +885,8 @@ async function He(e, n, t = void 0, i = void 0) {
885
885
  });
886
886
  }
887
887
  async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0) {
888
- let { tenant: a, cs_name: o } = e;
889
- if (!a && !o) {
888
+ let { tenant: o, cs_name: a } = e;
889
+ if (!o && !a) {
890
890
  s && s("Credentials undefined");
891
891
  return;
892
892
  }
@@ -895,11 +895,11 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
895
895
  return;
896
896
  }
897
897
  const c = T.now().ts;
898
- let d = `https://${a.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/collabspaces/${encodeURIComponent(
899
- o
900
- )}/ticket?id=${c}&tenant=${a.toUpperCase()}&xrequestedwith=xmlhttprequest`;
898
+ let d = `https://${o.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/collabspaces/${encodeURIComponent(
899
+ a
900
+ )}/ticket?id=${c}&tenant=${o.toUpperCase()}&xrequestedwith=xmlhttprequest`;
901
901
  m(
902
- `https://${a.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/session?tenant=${a.toUpperCase()}&xrequestedwith=xmlhttprequest`,
902
+ `https://${o.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/session?tenant=${o.toUpperCase()}&xrequestedwith=xmlhttprequest`,
903
903
  {
904
904
  method: "GET",
905
905
  onComplete(u) {
@@ -924,7 +924,9 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
924
924
  const k = new DOMParser().parseFromString(
925
925
  _,
926
926
  "text/html"
927
- ).body.firstChild.querySelector("input").getAttributeNode("value").value, v = `https://${a.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/collabspaces/${encodeURIComponent(o)}/contents?receipt=${encodeURIComponent(k)}`;
927
+ ).body.firstChild.querySelector("input").getAttributeNode("value").value, v = `https://${o.toLowerCase()}-eu1-space.3dexperience.3ds.com/enovia/resources/enocsmrest/collabspaces/${encodeURIComponent(
928
+ a
929
+ )}/contents?receipt=${encodeURIComponent(k)}`;
928
930
  let W = /(?:\.([^.]+))?$/.exec(n)[1];
929
931
  const D = JSON.stringify({
930
932
  actions: [],
@@ -940,7 +942,7 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
940
942
  title: W ? n.split(".").slice(0, -1).join(".") : n,
941
943
  type: {}
942
944
  },
943
- collabspace: o
945
+ collabspace: a
944
946
  });
945
947
  m(v, {
946
948
  method: "POST",
@@ -951,7 +953,7 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
951
953
  },
952
954
  data: D,
953
955
  type: "json",
954
- onComplete(N, be, Oe) {
956
+ onComplete(N, Ce, be) {
955
957
  i && i(N);
956
958
  },
957
959
  onFailure(N) {
@@ -989,17 +991,17 @@ async function Qe(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0)
989
991
  );
990
992
  }
991
993
  async function Ze(e, n, t, i = void 0, s = void 0) {
992
- e.space, e.token, e.ctx, M(
994
+ e.space, e.token, e.ctx, J(
993
995
  e,
994
996
  n,
995
997
  (r) => {
996
- const a = r.data[0].relateddata.files[0].id, o = r.data[0].relateddata.files[0].dataelements.title;
998
+ const o = r.data[0].relateddata.files[0].id, a = r.data[0].relateddata.files[0].dataelements.title;
997
999
  G(
998
1000
  e,
999
1001
  n,
1000
- a,
1001
- t,
1002
1002
  o,
1003
+ t,
1004
+ a,
1003
1005
  (c) => {
1004
1006
  i && i(c);
1005
1007
  },
@@ -1014,16 +1016,16 @@ async function Ze(e, n, t, i = void 0, s = void 0) {
1014
1016
  );
1015
1017
  }
1016
1018
  async function et(e, n, t, i, s = void 0, r = void 0) {
1017
- re(
1019
+ ae(
1018
1020
  e,
1019
- (a) => {
1020
- a?.items >= 1 && a.data.forEach((o) => {
1021
+ (o) => {
1022
+ o?.items >= 1 && o.data.forEach((a) => {
1021
1023
  B(
1022
- o,
1024
+ a,
1023
1025
  n,
1024
1026
  t,
1025
1027
  (c) => {
1026
- ce(
1028
+ re(
1027
1029
  e,
1028
1030
  c,
1029
1031
  t,
@@ -1041,10 +1043,10 @@ async function et(e, n, t, i, s = void 0, r = void 0) {
1041
1043
  );
1042
1044
  });
1043
1045
  },
1044
- (a) => console.warn(a)
1046
+ (o) => console.warn(o)
1045
1047
  );
1046
1048
  }
1047
- function re(e, n = void 0, t = void 0) {
1049
+ function ae(e, n = void 0, t = void 0) {
1048
1050
  if (e?.space && e.token && e.ctx) {
1049
1051
  let i = `${e.space}/resources/v1/modeler/documents/files/CheckinTicket`;
1050
1052
  m(i, {
@@ -1055,7 +1057,7 @@ function re(e, n = void 0, t = void 0) {
1055
1057
  "Content-Type": "application/json",
1056
1058
  SecurityContext: e.ctx
1057
1059
  },
1058
- onComplete(s, r, a) {
1060
+ onComplete(s, r, o) {
1059
1061
  try {
1060
1062
  s = JSON.parse(s);
1061
1063
  } catch {
@@ -1071,13 +1073,13 @@ function re(e, n = void 0, t = void 0) {
1071
1073
  }
1072
1074
  function B(e, n, t, i = void 0, s = void 0, r = void 0) {
1073
1075
  console.log("pushFileInFcs", { fcs__jobTicket: e, fileData: n, fileName: t });
1074
- let a = new FormData();
1076
+ let o = new FormData();
1075
1077
  n instanceof Blob || (n = new Blob([n], {
1076
1078
  type: "text/plain"
1077
- })), a.append("__fcs__jobTicket", e.dataelements.ticket), a.append("file-name", t), a.append("file_0", n, t), a.append("file-title", t), a.append("file-description", t);
1078
- let o = e.dataelements.ticketURL;
1079
+ })), o.append("__fcs__jobTicket", e.dataelements.ticket), o.append("file-name", t), o.append("file_0", n, t), o.append("file-title", t), o.append("file-description", t);
1080
+ let a = e.dataelements.ticketURL;
1079
1081
  const c = new XMLHttpRequest();
1080
- c.open("POST", o, !0), c.upload.onprogress = function(d) {
1082
+ c.open("POST", a, !0), c.upload.onprogress = function(d) {
1081
1083
  if (d.lengthComputable) {
1082
1084
  const u = d.loaded / d.total * 100;
1083
1085
  r && r(u);
@@ -1086,12 +1088,12 @@ function B(e, n, t, i = void 0, s = void 0, r = void 0) {
1086
1088
  c.status === 200 ? i && i(c.responseText.replace(/[\n\r]/g, "")) : s && s(c.statusText);
1087
1089
  }, c.onerror = function() {
1088
1090
  s && s(c.statusText);
1089
- }, c.send(a);
1091
+ }, c.send(o);
1090
1092
  }
1091
- function ce(e, n, t, i = void 0, s = void 0, r = void 0) {
1093
+ function re(e, n, t, i = void 0, s = void 0, r = void 0) {
1092
1094
  console.log("relatedDocAndFile", { credentials: e, receipt: n, filename: t });
1093
- const a = (d) => d.indexOf(".") === -1 ? d : d.split(".").slice(0, -1).join(".");
1094
- let o = "temp_" + T.now().ts, c = e.space + "/resources/v1/modeler/documents/?e6w-lang=fr&e6w-timezone=-120&xrequestedwith=xmlhttprequest";
1095
+ const o = (d) => d.indexOf(".") === -1 ? d : d.split(".").slice(0, -1).join(".");
1096
+ let a = "temp_" + T.now().ts, c = e.space + "/resources/v1/modeler/documents/?e6w-lang=fr&e6w-timezone=-120&xrequestedwith=xmlhttprequest";
1095
1097
  m(c, {
1096
1098
  method: "POST",
1097
1099
  headers: {
@@ -1105,7 +1107,7 @@ function ce(e, n, t, i = void 0, s = void 0, r = void 0) {
1105
1107
  {
1106
1108
  type: "Document",
1107
1109
  dataelements: {
1108
- title: a(t),
1110
+ title: o(t),
1109
1111
  description: i
1110
1112
  },
1111
1113
  relateddata: {
@@ -1119,7 +1121,7 @@ function ce(e, n, t, i = void 0, s = void 0, r = void 0) {
1119
1121
  }
1120
1122
  ]
1121
1123
  },
1122
- tempId: o
1124
+ tempId: a
1123
1125
  }
1124
1126
  ]
1125
1127
  }),
@@ -1135,9 +1137,9 @@ function ce(e, n, t, i = void 0, s = void 0, r = void 0) {
1135
1137
  }
1136
1138
  });
1137
1139
  }
1138
- function F(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0, a = !1) {
1139
- const o = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
1140
- m(o, {
1140
+ function R(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0, o = !1) {
1141
+ const a = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
1142
+ m(a, {
1141
1143
  method: "GET",
1142
1144
  onComplete(c) {
1143
1145
  const d = JSON.parse(c);
@@ -1174,7 +1176,7 @@ function F(e, n = void 0, t = void 0, i = void 0, s = void 0, r = void 0, a = !1
1174
1176
  }));
1175
1177
  }
1176
1178
  }
1177
- p && f && l ? (u = l + "." + f + "." + p, s(u)) : d.preferredcredentials && a ? (u = d.preferredcredentials.role.name + "." + d.preferredcredentials.organization.title + "." + d.preferredcredentials.collabspace.title, s(u)) : r && (u = l + "." + f + "." + p, r(u));
1179
+ p && f && l ? (u = l + "." + f + "." + p, s(u)) : d.preferredcredentials && o ? (u = d.preferredcredentials.role.name + "." + d.preferredcredentials.organization.title + "." + d.preferredcredentials.collabspace.title, s(u)) : r && (u = l + "." + f + "." + p, r(u));
1178
1180
  },
1179
1181
  onFailure(c, d) {
1180
1182
  console.warn("Erreur de récupération du contexte de sécurité. => ", {
@@ -1203,28 +1205,28 @@ async function E(e, n = void 0, t = void 0) {
1203
1205
  j(
1204
1206
  e,
1205
1207
  (r) => {
1206
- e?.returnType === "blob" ? (console.log("ticketURL blob", r), fetch(r).then((a) => a.blob()).then((a) => {
1207
- n && n(a);
1208
- }).catch((a) => {
1209
- t && t(a);
1208
+ e?.returnType === "blob" ? (console.log("ticketURL blob", r), fetch(r).then((o) => o.blob()).then((o) => {
1209
+ n && n(o);
1210
+ }).catch((o) => {
1211
+ t && t(o);
1210
1212
  })) : m(r, {
1211
- onComplete(a) {
1212
- let o;
1213
+ onComplete(o) {
1214
+ let a;
1213
1215
  try {
1214
- o = JSON.parse(a);
1216
+ a = JSON.parse(o);
1215
1217
  } catch {
1216
- o = a;
1218
+ a = o;
1217
1219
  }
1218
- n && typeof n == "function" && n(o), i(o);
1220
+ n && typeof n == "function" && n(a), i(a);
1219
1221
  },
1220
- onFailure(a, o, c) {
1221
- t && (console.log("error http", a), t({
1222
- msg: JSON.parse(a),
1223
- headers: o,
1222
+ onFailure(o, a, c) {
1223
+ t && (console.log("error http", o), t({
1224
+ msg: JSON.parse(o),
1225
+ headers: a,
1224
1226
  xhr: c
1225
1227
  }), s({
1226
- msg: JSON.parse(a),
1227
- headers: o,
1228
+ msg: JSON.parse(o),
1229
+ headers: a,
1228
1230
  xhr: c
1229
1231
  }));
1230
1232
  }
@@ -1236,12 +1238,12 @@ async function E(e, n = void 0, t = void 0) {
1236
1238
  );
1237
1239
  });
1238
1240
  }
1239
- async function de(e, n, t = void 0, i = void 0) {
1241
+ async function ce(e, n, t = void 0, i = void 0) {
1240
1242
  typeof n < "u" && Array.isArray(n) && n?.length > 0 ? H({
1241
1243
  credentials: e,
1242
1244
  myArray: n,
1243
1245
  chunk: 80,
1244
- fn_to_call: ue
1246
+ fn_to_call: de
1245
1247
  }, (r) => {
1246
1248
  t && t(r);
1247
1249
  }) : (console.warn(
@@ -1250,24 +1252,24 @@ async function de(e, n, t = void 0, i = void 0) {
1250
1252
  "La liste d'objects dans la fonction _3DSpace_download_multidoc est vide ou non défini."
1251
1253
  ));
1252
1254
  }
1253
- function ue(e, n, t = void 0, i = void 0, s = void 0) {
1255
+ function de(e, n, t = void 0, i = void 0, s = void 0) {
1254
1256
  const r = [];
1255
1257
  n.forEach((c) => {
1256
1258
  r.push({
1257
1259
  id: c
1258
1260
  });
1259
1261
  });
1260
- let a = JSON.stringify({
1262
+ let o = JSON.stringify({
1261
1263
  csrf: {
1262
1264
  name: "ENO_CSRF_TOKEN",
1263
1265
  value: e.token
1264
1266
  },
1265
1267
  data: r
1266
1268
  });
1267
- const o = `${e.space}/resources/v1/modeler/documents/DownloadTicket?tenant=${e.tenant}&e6w-lang=fr&e6w-timezone=-120`;
1268
- m(o, {
1269
+ const a = `${e.space}/resources/v1/modeler/documents/DownloadTicket?tenant=${e.tenant}&e6w-lang=fr&e6w-timezone=-120`;
1270
+ m(a, {
1269
1271
  method: "PUT",
1270
- data: a,
1272
+ data: o,
1271
1273
  type: "json",
1272
1274
  onComplete(c) {
1273
1275
  const d = c.data;
@@ -1307,7 +1309,7 @@ function tt(e, n, t = void 0, i = void 0) {
1307
1309
  return new Promise((s) => {
1308
1310
  if (e.token === "" && b(e), n !== void 0 && n !== "" && n !== null) {
1309
1311
  const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
1310
- let a = {
1312
+ let o = {
1311
1313
  method: "POST",
1312
1314
  headers: {
1313
1315
  SecurityContext: "ctx::" + e.ctx,
@@ -1323,22 +1325,22 @@ function tt(e, n, t = void 0, i = void 0) {
1323
1325
  ]
1324
1326
  }),
1325
1327
  type: "json",
1326
- onComplete(o) {
1327
- t && t(o);
1328
+ onComplete(a) {
1329
+ t && t(a);
1328
1330
  },
1329
- onFailure(o) {
1330
- i && i(o);
1331
+ onFailure(a) {
1332
+ i && i(a);
1331
1333
  }
1332
1334
  };
1333
- m(r, a);
1335
+ m(r, o);
1334
1336
  }
1335
1337
  });
1336
1338
  }
1337
1339
  function nt(e, n, t, i = void 0, s = void 0) {
1338
1340
  return new Promise((r) => {
1339
1341
  if (e.token === "" && b(e), n !== void 0 && n !== "" && n !== null) {
1340
- const a = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
1341
- let o = {
1342
+ const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
1343
+ let a = {
1342
1344
  method: "POST",
1343
1345
  headers: {
1344
1346
  SecurityContext: "ctx::" + e.ctx,
@@ -1362,7 +1364,7 @@ function nt(e, n, t, i = void 0, s = void 0) {
1362
1364
  s && s(c);
1363
1365
  }
1364
1366
  };
1365
- m(a, o);
1367
+ m(o, a);
1366
1368
  }
1367
1369
  });
1368
1370
  }
@@ -1370,17 +1372,17 @@ function st(e, n, t = void 0, i = void 0) {
1370
1372
  return new Promise((s) => {
1371
1373
  if (e.token === "" && b(e), n !== void 0 && n !== "" && n !== null) {
1372
1374
  const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
1373
- F(
1375
+ R(
1374
1376
  e.space,
1375
1377
  "ESPACE COMMUN",
1376
1378
  ["VPLMProjectLeader", "VPLMCreator"],
1377
1379
  void 0,
1378
- (o) => e.ctx = o,
1379
- (o) => {
1380
- console.log("onError =>", o);
1380
+ (a) => e.ctx = a,
1381
+ (a) => {
1382
+ console.log("onError =>", a);
1381
1383
  }
1382
1384
  );
1383
- let a = {
1385
+ let o = {
1384
1386
  method: "POST",
1385
1387
  headers: {
1386
1388
  securitycontext: "ctx::" + e.ctx,
@@ -1396,14 +1398,14 @@ function st(e, n, t = void 0, i = void 0) {
1396
1398
  ]
1397
1399
  }),
1398
1400
  type: "json",
1399
- onComplete(o) {
1400
- t && t(o);
1401
+ onComplete(a) {
1402
+ t && t(a);
1401
1403
  },
1402
- onFailure(o) {
1403
- i && i(o);
1404
+ onFailure(a) {
1405
+ i && i(a);
1404
1406
  }
1405
1407
  };
1406
- m(r, a);
1408
+ m(r, o);
1407
1409
  }
1408
1410
  });
1409
1411
  }
@@ -1411,17 +1413,17 @@ function it(e, n, t = void 0, i = void 0) {
1411
1413
  return new Promise((s) => {
1412
1414
  if (e.token === "" && b(e), n !== void 0 && n !== "" && n !== null) {
1413
1415
  const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
1414
- F(
1416
+ R(
1415
1417
  e.space,
1416
1418
  "ESPACE COMMUN",
1417
1419
  ["VPLMProjectLeader", "VPLMCreator"],
1418
1420
  void 0,
1419
- (o) => e.ctx = o,
1420
- (o) => {
1421
- console.log("onError =>", o);
1421
+ (a) => e.ctx = a,
1422
+ (a) => {
1423
+ console.log("onError =>", a);
1422
1424
  }
1423
1425
  );
1424
- let a = {
1426
+ let o = {
1425
1427
  method: "POST",
1426
1428
  headers: {
1427
1429
  SecurityContext: "ctx::" + e.ctx,
@@ -1443,22 +1445,22 @@ function it(e, n, t = void 0, i = void 0) {
1443
1445
  ]
1444
1446
  }),
1445
1447
  type: "json",
1446
- onComplete(o) {
1447
- t && t(o);
1448
+ onComplete(a) {
1449
+ t && t(a);
1448
1450
  },
1449
- onFailure(o) {
1450
- i && i(o);
1451
+ onFailure(a) {
1452
+ i && i(a);
1451
1453
  }
1452
1454
  };
1453
- m(r, a);
1455
+ m(r, o);
1454
1456
  }
1455
1457
  });
1456
1458
  }
1457
1459
  function ot(e, n, t, i = void 0, s = void 0) {
1458
1460
  return new Promise((r) => {
1459
1461
  if (e.token === "" && b(e), n !== void 0 && n !== "" && n !== null) {
1460
- const a = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
1461
- F(
1462
+ const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
1463
+ R(
1462
1464
  e.space,
1463
1465
  "ESPACE COMMUN",
1464
1466
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1468,7 +1470,7 @@ function ot(e, n, t, i = void 0, s = void 0) {
1468
1470
  console.log("onError =>", c);
1469
1471
  }
1470
1472
  );
1471
- let o = {
1473
+ let a = {
1472
1474
  method: "POST",
1473
1475
  headers: {
1474
1476
  securitycontext: "ctx::" + e.ctx,
@@ -1497,11 +1499,11 @@ function ot(e, n, t, i = void 0, s = void 0) {
1497
1499
  s && s(c);
1498
1500
  }
1499
1501
  };
1500
- m(a, o);
1502
+ m(o, a);
1501
1503
  }
1502
1504
  });
1503
1505
  }
1504
- function pe(e) {
1506
+ function ue(e) {
1505
1507
  return new Promise((n, t) => {
1506
1508
  const i = `${e.space}/resources/pno/person/getsecuritycontext&tenant=${e.tenant.toUpperCase()}&xrequestedwith=xmlhttprequest`;
1507
1509
  m(i, {
@@ -1517,11 +1519,11 @@ function pe(e) {
1517
1519
  }
1518
1520
  function at(e, n, t = void 0, i = void 0) {
1519
1521
  return new Promise(async (s, r) => {
1520
- const { tenant: a, ctx: o, space: c } = e;
1521
- (!a || !o || !c) && r({ error: "Erreur de credentials", tenant: a, ctx: o, space: c });
1522
+ const { tenant: o, ctx: a, space: c } = e;
1523
+ (!o || !a || !c) && r({ error: "Erreur de credentials", tenant: o, ctx: a, space: c });
1522
1524
  const d = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=1&withAttributes=1&withCopyFrom=1&tenant=${e.tenant.toUpperCase()}&xrequestedwith=xmlhttprequest`;
1523
1525
  let u;
1524
- await pe(e).then(
1526
+ await ue(e).then(
1525
1527
  (f) => u = f?.SecurityContext
1526
1528
  );
1527
1529
  let p = {
@@ -1550,50 +1552,65 @@ function at(e, n, t = void 0, i = void 0) {
1550
1552
  m(d, p);
1551
1553
  });
1552
1554
  }
1553
- function rt(e, n, t = void 0, i = void 0) {
1554
- return new Promise((s, r) => {
1555
- const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark/${n}?$mask=dsbks:BksMask.Items`;
1556
- m(a, {
1555
+ function rt(e, n) {
1556
+ return new Promise((t, i) => {
1557
+ const s = `${e.space}/resources/v1/FolderManagement/Folder/${n}/folderTree?tenant=${e.tenant.toUpperCase()}`, r = {
1558
+ expandList: "",
1559
+ isRoot: "",
1560
+ isPersonalFolder: !1,
1561
+ Read: !0,
1562
+ nresults: 200,
1563
+ sortOrder: "asc",
1564
+ sortMode: "ds6w:label",
1565
+ nextStart: 0,
1566
+ refine: ""
1567
+ };
1568
+ m(s, {
1569
+ method: "POST",
1570
+ headers: {
1571
+ Accept: "application/json",
1572
+ "content-Type": "application/json",
1573
+ SecurityContext: `ctx::${ctx}`
1574
+ },
1575
+ data: JSON.stringify(r),
1576
+ type: "json",
1577
+ onComplete(o, a, c) {
1578
+ const d = o;
1579
+ console.log("getListBkEnfant | réponse => ", d), t(d);
1580
+ },
1581
+ onFailure(o, a, c) {
1582
+ const d = {};
1583
+ if (d.error = o, d.headers = a, d.xhr = c, onError)
1584
+ throw onError(d), console.log("Coucou dans enfant"), new Error("Coucou dans enfant", { cause: o });
1585
+ }
1586
+ });
1587
+ });
1588
+ }
1589
+ function ct(e, n) {
1590
+ return new Promise((t, i) => {
1591
+ const s = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark/${n}?$mask=dsbks:BksMask.Items`;
1592
+ m(s, {
1557
1593
  headers: {
1558
1594
  SecurityContext: `ctx::${e.ctx}`
1559
1595
  },
1560
- onComplete: (o) => {
1561
- let c;
1596
+ onComplete: (r) => {
1597
+ let o;
1562
1598
  try {
1563
- c = JSON.parse(o);
1599
+ o = JSON.parse(r);
1564
1600
  } catch {
1565
- c = o;
1566
- }
1567
- if (typeof c == "object") {
1568
- let d = c?.member[0]?.items?.member;
1569
- if (d) {
1570
- const u = d.map((p) => {
1571
- if (p?.referencedObject?.identifier)
1572
- return p.referencedObject.identifier;
1573
- });
1574
- u.length && oe(host, u, (p) => {
1575
- console.log("_3dspace_get_multiDocInfo Response : ", {
1576
- ...p
1577
- }), p?.data.length && p.data.forEach((l) => {
1578
- let g = d.find(
1579
- (h) => h.referencedObject.identifier === l.identifier
1580
- );
1581
- g && (g.referencedObject.dataelements = l.dataelements);
1582
- });
1583
- });
1584
- }
1601
+ o = r;
1585
1602
  }
1586
- return t && t(c), s = c, s;
1603
+ t(o);
1587
1604
  },
1588
- onFailure(o) {
1589
- return i && i(o), r = o, r;
1605
+ onFailure(r) {
1606
+ i(r);
1590
1607
  }
1591
1608
  });
1592
1609
  });
1593
1610
  }
1594
- function ct(e, n, t, i, s = void 0, r = void 0) {
1595
- return new Promise((a) => {
1596
- const o = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
1611
+ function dt(e, n, t, i, s = void 0, r = void 0) {
1612
+ return new Promise((o) => {
1613
+ const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
1597
1614
  let c = {
1598
1615
  attributes: {
1599
1616
  title: t,
@@ -1621,11 +1638,11 @@ function ct(e, n, t, i, s = void 0, r = void 0) {
1621
1638
  r && r(p);
1622
1639
  }
1623
1640
  };
1624
- m(o, u);
1641
+ m(a, u);
1625
1642
  });
1626
1643
  }
1627
- function dt(e, n, t, i, s = void 0, r = void 0) {
1628
- return console.log("credentials", e), new Promise((a) => {
1644
+ function ut(e, n, t, i, s = void 0, r = void 0) {
1645
+ return console.log("credentials", e), new Promise((o) => {
1629
1646
  `${e.space}`, JSON.stringify({
1630
1647
  csrf: {
1631
1648
  name: "ENO_CSRF_TOKEN",
@@ -1648,7 +1665,7 @@ function dt(e, n, t, i, s = void 0, r = void 0) {
1648
1665
  });
1649
1666
  }
1650
1667
  //!SECTION
1651
- function ut(e, n = void 0, t = void 0) {
1668
+ function pt(e, n = void 0, t = void 0) {
1652
1669
  const i = {
1653
1670
  base: `${e.space}`,
1654
1671
  uri: "/resources/bps/cspaces",
@@ -1660,16 +1677,16 @@ function ut(e, n = void 0, t = void 0) {
1660
1677
  Accept: "application/json,text/javascript,*/*",
1661
1678
  "Content-Type": "application/ds-json"
1662
1679
  },
1663
- onComplete(r, a) {
1664
- const o = JSON.parse(r);
1665
- n && n(o, a);
1680
+ onComplete(r, o) {
1681
+ const a = JSON.parse(r);
1682
+ n && n(a, o);
1666
1683
  },
1667
- onFailure(r, a, o) {
1668
- t && t({ response: r, headers: a, xhr: o });
1684
+ onFailure(r, o, a) {
1685
+ t && t({ response: r, headers: o, xhr: a });
1669
1686
  }
1670
1687
  });
1671
1688
  }
1672
- function pt(e, n, t, i) {
1689
+ function lt(e, n, t, i) {
1673
1690
  j(
1674
1691
  e.space,
1675
1692
  n,
@@ -1686,29 +1703,29 @@ function pt(e, n, t, i) {
1686
1703
  }
1687
1704
  );
1688
1705
  }
1689
- async function lt(e, n, t = void 0, i = void 0) {
1706
+ async function ft(e, n, t = void 0, i = void 0) {
1690
1707
  return new Promise((s) => {
1691
1708
  j(e, n, (r) => {
1692
1709
  m(r, {
1693
- onComplete: (a, o, c) => (s(JSON.parse(a)), t && t(JSON.parse(a), o, c), s),
1694
- onFailure: (a, o, c) => {
1695
- i && i(a, o, c), console.log(a, o?.errormsg);
1710
+ onComplete: (o, a, c) => (s(JSON.parse(o)), t && t(JSON.parse(o), a, c), s),
1711
+ onFailure: (o, a, c) => {
1712
+ i && i(o, a, c), console.log(o, a?.errormsg);
1696
1713
  }
1697
1714
  });
1698
1715
  });
1699
1716
  });
1700
1717
  }
1701
- function ft(e, n, t, i = void 0, s = void 0) {
1718
+ function mt(e, n, t, i = void 0, s = void 0) {
1702
1719
  const r = new Blob([JSON.stringify(n)], { type: "text/plain" });
1703
- e = { ...e, objID: t }, R(
1720
+ e = { ...e, objID: t }, I(
1704
1721
  e,
1705
- (a) => {
1706
- console.log("_3DSpace_get_csrf | onDone | data", a);
1707
- const o = a.datas.relateddata.files[0].id, c = a.datas.relateddata.files[0].dataelements.title;
1722
+ (o) => {
1723
+ console.log("_3DSpace_get_csrf | onDone | data", o);
1724
+ const a = o.datas.relateddata.files[0].id, c = o.datas.relateddata.files[0].dataelements.title;
1708
1725
  G(
1709
1726
  e,
1710
1727
  t,
1711
- o,
1728
+ a,
1712
1729
  r,
1713
1730
  c,
1714
1731
  (d) => {
@@ -1719,15 +1736,15 @@ function ft(e, n, t, i = void 0, s = void 0) {
1719
1736
  }
1720
1737
  );
1721
1738
  },
1722
- (a) => {
1723
- console.log("En cas d'erreur nous avons :", a), alert("Erreur lors de la sauvegarde, Veuillez réessayez"), s && s(a);
1739
+ (o) => {
1740
+ console.log("En cas d'erreur nous avons :", o), alert("Erreur lors de la sauvegarde, Veuillez réessayez"), s && s(o);
1724
1741
  }
1725
1742
  );
1726
1743
  }
1727
1744
  let K, q;
1728
1745
  const A = [];
1729
- async function mt(e, n = void 0, t = void 0) {
1730
- e.objID && e.objID !== "" ? R(
1746
+ async function gt(e, n = void 0, t = void 0) {
1747
+ e.objID && e.objID !== "" ? I(
1731
1748
  e,
1732
1749
  (i) => {
1733
1750
  n && n(i);
@@ -1745,7 +1762,7 @@ async function mt(e, n = void 0, t = void 0) {
1745
1762
  }
1746
1763
  );
1747
1764
  }
1748
- async function gt(e, n = void 0, t = void 0) {
1765
+ async function ht(e, n = void 0, t = void 0) {
1749
1766
  console.log("getDatasByTenant (getDocuments)", e), await E(
1750
1767
  e,
1751
1768
  (i) => {
@@ -1757,7 +1774,7 @@ async function gt(e, n = void 0, t = void 0) {
1757
1774
  }
1758
1775
  );
1759
1776
  }
1760
- function ht(e, n = void 0, t = void 0) {
1777
+ function yt(e, n = void 0, t = void 0) {
1761
1778
  const i = [];
1762
1779
  if (!e.objIds && !Array.isArray(e.objIds) && e.objIds.length === 0) {
1763
1780
  console.warn("la liste est vide ou n'est pas un tableau");
@@ -1767,26 +1784,26 @@ function ht(e, n = void 0, t = void 0) {
1767
1784
  E(
1768
1785
  e,
1769
1786
  s.objID,
1770
- (a) => {
1771
- i.push({ [s.name]: a }), s.name === "dbProjets" && (K = a.affaires.map((o) => o.objectID), le(e, q)), r === e.objIds.length - 1 && (n && n(i), delete e.objIds, delete e.datas);
1787
+ (o) => {
1788
+ i.push({ [s.name]: o }), s.name === "dbProjets" && (K = o.affaires.map((a) => a.objectID), pe(e, q)), r === e.objIds.length - 1 && (n && n(i), delete e.objIds, delete e.datas);
1772
1789
  }
1773
1790
  );
1774
1791
  });
1775
1792
  }
1776
- function le(e, n, t = void 0, i = void 0) {
1777
- de(
1793
+ function pe(e, n, t = void 0, i = void 0) {
1794
+ ce(
1778
1795
  e,
1779
1796
  K,
1780
1797
  (s) => {
1781
1798
  const r = [...n];
1782
- r.find((a) => a.objectID === s.objectId).data = s.data, q = r, A.push(s.data), t && t(A);
1799
+ r.find((o) => o.objectID === s.objectId).data = s.data, q = r, A.push(s.data), t && t(A);
1783
1800
  },
1784
1801
  (s) => {
1785
1802
  i && (i(s), console.log(s));
1786
1803
  }
1787
1804
  );
1788
1805
  }
1789
- const fe = "FA35FB9B177A280065800EA0000F599C", me = [
1806
+ const le = "FA35FB9B177A280065800EA0000F599C", fe = [
1790
1807
  "swym",
1791
1808
  "3dspace",
1792
1809
  "drive",
@@ -1800,14 +1817,14 @@ const fe = "FA35FB9B177A280065800EA0000F599C", me = [
1800
1817
  where: "ds6w:where",
1801
1818
  who: "ds6w:who",
1802
1819
  why: "ds6w:why"
1803
- }, ge = {
1804
- objId: fe,
1820
+ }, me = {
1821
+ objId: le,
1805
1822
  pred: "who",
1806
1823
  order_by: "desc",
1807
1824
  tag: "testTag"
1808
1825
  };
1809
- function yt(e, n, t = void 0, i = void 0) {
1810
- const { space: s, tenant: r } = e, { objId: a, pred: o, tag: c } = n, d = {
1826
+ function _t(e, n, t = void 0, i = void 0) {
1827
+ const { space: s, tenant: r } = e, { objId: o, pred: a, tag: c } = n, d = {
1811
1828
  uri: "/resources/6w/tags",
1812
1829
  otpCTX: "SecurityContext=preferred",
1813
1830
  optTenant: `tenant=${r}`
@@ -1816,10 +1833,10 @@ function yt(e, n, t = void 0, i = void 0) {
1816
1833
  {
1817
1834
  subject: [
1818
1835
  {
1819
- uri: `pid://${a}`
1836
+ uri: `pid://${o}`
1820
1837
  }
1821
1838
  ],
1822
- predicate: X[o],
1839
+ predicate: X[a],
1823
1840
  object: {
1824
1841
  literal: c
1825
1842
  }
@@ -1837,12 +1854,12 @@ function yt(e, n, t = void 0, i = void 0) {
1837
1854
  JSON.parse(f);
1838
1855
  const l = {};
1839
1856
  setTimeout(() => {
1840
- M(
1857
+ J(
1841
1858
  e,
1842
- a,
1859
+ o,
1843
1860
  (g) => {
1844
1861
  const h = g.data[0].dataelements.title, y = g.data[0].dataelements.fileExtension !== void 0 ? g.data[0].dataelements.fileExtension : "", S = g.data[0].relateddata.ownerInfo[0].dataelements.name;
1845
- l.name = h, l.ext = y, l.createBy = S, n.info = { ...l }, he(
1862
+ l.name = h, l.ext = y, l.createBy = S, n.info = { ...l }, ge(
1846
1863
  e,
1847
1864
  n,
1848
1865
  (w) => {
@@ -1866,12 +1883,12 @@ function yt(e, n, t = void 0, i = void 0) {
1866
1883
  }
1867
1884
  });
1868
1885
  }
1869
- function he(e, n, t = void 0, i = void 0) {
1886
+ function ge(e, n, t = void 0, i = void 0) {
1870
1887
  console.log("obj ", n);
1871
1888
  const s = n.info.name, r = {
1872
1889
  baseUrl: `https://${e.tenant.toLowerCase()}-eu1-fedsearch.3dexperience.3ds.com`,
1873
1890
  uri: "/federated/search"
1874
- }, a = `${r.baseUrl}${r.uri}`, o = {
1891
+ }, o = `${r.baseUrl}${r.uri}`, a = {
1875
1892
  "Content-Type": "application/json",
1876
1893
  Accept: "application/json,text/javascript,*/*"
1877
1894
  }, c = Y(), d = {
@@ -1916,7 +1933,7 @@ function he(e, n, t = void 0, i = void 0) {
1916
1933
  }
1917
1934
  },
1918
1935
  select_exclude_synthesis: ["ds6w:what/ds6w:topic"],
1919
- order_by: ge.order_by,
1936
+ order_by: me.order_by,
1920
1937
  order_field: "relevance",
1921
1938
  select_snippets: [
1922
1939
  "ds6w:snippet",
@@ -1927,7 +1944,7 @@ function he(e, n, t = void 0, i = void 0) {
1927
1944
  ],
1928
1945
  nresults: 40,
1929
1946
  start: "0",
1930
- source: me,
1947
+ source: fe,
1931
1948
  tenant: e.tenant,
1932
1949
  login: {
1933
1950
  "3dspace": {
@@ -1935,9 +1952,9 @@ function he(e, n, t = void 0, i = void 0) {
1935
1952
  }
1936
1953
  }
1937
1954
  };
1938
- console.log("dataPattern => ", d), m(a, {
1955
+ console.log("dataPattern => ", d), m(o, {
1939
1956
  method: "POST",
1940
- headers: o,
1957
+ headers: a,
1941
1958
  data: JSON.stringify(d),
1942
1959
  onComplete(u) {
1943
1960
  const p = JSON.parse(u);
@@ -1949,12 +1966,12 @@ function he(e, n, t = void 0, i = void 0) {
1949
1966
  }
1950
1967
  });
1951
1968
  }
1952
- function _t(e, n, t = void 0, i = void 0) {
1953
- const { objId: s, pred: r, tag: a } = n, o = {
1969
+ function St(e, n, t = void 0, i = void 0) {
1970
+ const { objId: s, pred: r, tag: o } = n, a = {
1954
1971
  uri: "/resources/6w/tags",
1955
1972
  otpCTX: "SecurityContext=preferred",
1956
1973
  optTenant: `tenant=${e.tenant}`
1957
- }, c = `${e.space}${o.uri}?${o.otpCTX}&${o.optTenant}`, d = {
1974
+ }, c = `${e.space}${a.uri}?${a.otpCTX}&${a.optTenant}`, d = {
1958
1975
  tag: [
1959
1976
  {
1960
1977
  subject: [
@@ -1964,7 +1981,7 @@ function _t(e, n, t = void 0, i = void 0) {
1964
1981
  ],
1965
1982
  predicate: X[r],
1966
1983
  object: {
1967
- literal: a
1984
+ literal: o
1968
1985
  }
1969
1986
  }
1970
1987
  ]
@@ -1985,19 +2002,19 @@ function _t(e, n, t = void 0, i = void 0) {
1985
2002
  }
1986
2003
  });
1987
2004
  }
1988
- function St(e, n = "", t = void 0, i = void 0) {
2005
+ function wt(e, n = "", t = void 0, i = void 0) {
1989
2006
  const { space: s } = e;
1990
2007
  if (n === "")
1991
2008
  return;
1992
2009
  const r = {
1993
2010
  uri: "/resources/v1/modeler/documents"
1994
- }, a = {
2011
+ }, o = {
1995
2012
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
1996
2013
  Accept: "application/json,text/javascript,*/*"
1997
- }, o = `${s}${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=${n}`;
1998
- m(o, {
2014
+ }, a = `${s}${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=${n}`;
2015
+ m(a, {
1999
2016
  method: "POST",
2000
- headers: a,
2017
+ headers: o,
2001
2018
  data: c,
2002
2019
  onComplete(d) {
2003
2020
  t && t(JSON.parse(d));
@@ -2011,17 +2028,17 @@ function St(e, n = "", t = void 0, i = void 0) {
2011
2028
  async function C(e, n = void 0, t = void 0) {
2012
2029
  const i = e._3DSwym + "/api/index/tk";
2013
2030
  return m(i, {
2014
- onComplete(s, r, a) {
2015
- const o = JSON.parse(s);
2031
+ onComplete(s, r, o) {
2032
+ const a = JSON.parse(s);
2016
2033
  if (n)
2017
- return n(o), e.token = o?.result?.ServerToken;
2034
+ return n(a), e.token = a?.result?.ServerToken;
2018
2035
  },
2019
2036
  onFailure(s) {
2020
2037
  t && t(s);
2021
2038
  }
2022
2039
  });
2023
2040
  }
2024
- function wt(e, n = void 0, t = void 0) {
2041
+ function Ct(e, n = void 0, t = void 0) {
2025
2042
  const i = `${e._3DSwym}/api/exalead/whatsnew`, s = {
2026
2043
  params: {
2027
2044
  community_id: null,
@@ -2042,16 +2059,16 @@ function wt(e, n = void 0, t = void 0) {
2042
2059
  },
2043
2060
  data: JSON.stringify(s),
2044
2061
  type: "json",
2045
- onComplete(a, o) {
2046
- n && n(a, o);
2062
+ onComplete(o, a) {
2063
+ n && n(o, a);
2047
2064
  },
2048
- onFailure(a, o) {
2049
- t && t(a, o);
2065
+ onFailure(o, a) {
2066
+ t && t(o, a);
2050
2067
  }
2051
2068
  });
2052
2069
  });
2053
2070
  }
2054
- function Ct(e, n = void 0, t = void 0) {
2071
+ function bt(e, n = void 0, t = void 0) {
2055
2072
  const i = `${e._3DSwym}/api/Recommendation/getpeoplefamiliartocurrentuser`, s = {
2056
2073
  params: {
2057
2074
  idsToFilterArr: [],
@@ -2071,31 +2088,31 @@ function Ct(e, n = void 0, t = void 0) {
2071
2088
  },
2072
2089
  data: JSON.stringify(s),
2073
2090
  type: "json",
2074
- onComplete(a, o) {
2075
- const c = a.result.hits.map((d) => ({ login: d.login, fullName: d.name }));
2076
- n && n(c, a);
2091
+ onComplete(o, a) {
2092
+ const c = o.result.hits.map((d) => ({ login: d.login, fullName: d.name }));
2093
+ n && n(c, o);
2077
2094
  },
2078
- onFailure(a, o) {
2079
- t && t(a, o);
2095
+ onFailure(o, a) {
2096
+ t && t(o, a);
2080
2097
  }
2081
2098
  });
2082
2099
  });
2083
2100
  }
2084
- function bt(e, n = void 0, t = void 0) {
2101
+ function Ot(e, n = void 0, t = void 0) {
2085
2102
  const i = {
2086
2103
  base: e._3DSwym,
2087
2104
  uri: "/api/community/listmycommunities",
2088
2105
  limit: `/limit/${e.limit ? e.limit : 500}`,
2089
2106
  page: `/page/${e.page ? e.page : "1"}`
2090
2107
  }, s = `${i.base}${i.uri}${i.limit}${i.page}`, r = [];
2091
- C(e, (a) => {
2108
+ C(e, (o) => {
2092
2109
  m(s, {
2093
2110
  method: "GET",
2094
2111
  headers: {
2095
- "X-DS-SWYM-CSRFTOKEN": a.result.ServerToken
2112
+ "X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
2096
2113
  },
2097
- onComplete(o, c, d) {
2098
- const p = JSON.parse(o).result;
2114
+ onComplete(a, c, d) {
2115
+ const p = JSON.parse(a).result;
2099
2116
  let f = 0;
2100
2117
  p.forEach((l) => {
2101
2118
  const g = {
@@ -2106,7 +2123,7 @@ function bt(e, n = void 0, t = void 0) {
2106
2123
  role: l.role,
2107
2124
  access: l.access
2108
2125
  };
2109
- ye(
2126
+ he(
2110
2127
  e,
2111
2128
  l.id,
2112
2129
  (h) => {
@@ -2116,14 +2133,14 @@ function bt(e, n = void 0, t = void 0) {
2116
2133
  );
2117
2134
  });
2118
2135
  },
2119
- onFailure(o, c) {
2120
- const d = o;
2136
+ onFailure(a, c) {
2137
+ const d = a;
2121
2138
  d.status = c.status, d.response = c.errormsg, t && t(d);
2122
2139
  }
2123
2140
  });
2124
2141
  });
2125
2142
  }
2126
- function ye(e, n, t, i) {
2143
+ function he(e, n, t, i) {
2127
2144
  const s = `${e._3DSwym}/api/community/listmembers`, r = {
2128
2145
  params: {
2129
2146
  page: e.page ? e.page : 1,
@@ -2131,27 +2148,27 @@ function ye(e, n, t, i) {
2131
2148
  community_id: n
2132
2149
  }
2133
2150
  };
2134
- C(e, (a) => {
2151
+ C(e, (o) => {
2135
2152
  m(s, {
2136
2153
  method: "POST",
2137
2154
  headers: {
2138
2155
  "Content-type": "application/json;charset=UTF-8",
2139
2156
  Accept: "application/json",
2140
- "X-DS-SWYM-CSRFTOKEN": a.result.ServerToken
2157
+ "X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
2141
2158
  },
2142
2159
  data: JSON.stringify(r),
2143
2160
  type: "json",
2144
- onComplete(o, c, d) {
2145
- t && t(o);
2161
+ onComplete(a, c, d) {
2162
+ t && t(a);
2146
2163
  },
2147
- onFailure(o, c) {
2148
- const d = o;
2164
+ onFailure(a, c) {
2165
+ const d = a;
2149
2166
  d.status = c.status, d.response = c.errormsg, i && i(d);
2150
2167
  }
2151
2168
  });
2152
2169
  });
2153
2170
  }
2154
- function Ot(e, n = void 0, t = void 0) {
2171
+ function Tt(e, n = void 0, t = void 0) {
2155
2172
  const i = "YXdA5x4DSUKtlAi2wmnyTA";
2156
2173
  e.commu_id || (e.commu_id = i);
2157
2174
  const s = `${e._3DSwym}/api/v2/communities/${e.commu_id}/ideas/statuses`;
@@ -2163,30 +2180,30 @@ function Ot(e, n = void 0, t = void 0) {
2163
2180
  Accept: "application/json",
2164
2181
  "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
2165
2182
  },
2166
- onComplete(a) {
2167
- const o = JSON.parse(a);
2168
- n && n(o);
2183
+ onComplete(o) {
2184
+ const a = JSON.parse(o);
2185
+ n && n(a);
2169
2186
  },
2170
- onFailure(a, o) {
2171
- const c = a;
2172
- c.status = o.status, c.response = o.errormsg, t && t(c);
2187
+ onFailure(o, a) {
2188
+ const c = o;
2189
+ c.status = a.status, c.response = a.errormsg, t && t(c);
2173
2190
  }
2174
2191
  });
2175
2192
  });
2176
2193
  }
2177
- function Tt(e, n, t = void 0, i = void 0) {
2178
- const { listAllContacts: s, currentUser: r, _3DSwym: a } = e;
2194
+ function $t(e, n, t = void 0, i = void 0) {
2195
+ const { listAllContacts: s, currentUser: r, _3DSwym: o } = e;
2179
2196
  console.log("__listAllContacts", s.hits);
2180
- const o = `${a}/api/directmessages`, c = {
2197
+ const a = `${o}/api/directmessages`, c = {
2181
2198
  users: [r.login].concat(n.receipt)
2182
2199
  }, d = {
2183
2200
  id_msg: "",
2184
2201
  senderId: e.currentUser.login,
2185
2202
  senderName: `${e.currentUser.first_name} ${e.currentUser.last_name}`,
2186
- msg: Se(n.msg)
2203
+ msg: _e(n.msg)
2187
2204
  };
2188
2205
  let u = !1;
2189
- _e(
2206
+ ye(
2190
2207
  c.users,
2191
2208
  (p) => {
2192
2209
  p !== void 0 && (d.id_msg = p.id, u = !0, P(e, d));
@@ -2196,7 +2213,7 @@ function Tt(e, n, t = void 0, i = void 0) {
2196
2213
  }
2197
2214
  ), u === !1 && setTimeout(() => {
2198
2215
  u === !1 && C(e, (p) => {
2199
- m(o, {
2216
+ m(a, {
2200
2217
  method: "POST",
2201
2218
  headers: {
2202
2219
  "Content-Type": "application/json",
@@ -2217,7 +2234,7 @@ function Tt(e, n, t = void 0, i = void 0) {
2217
2234
  });
2218
2235
  }, 500);
2219
2236
  }
2220
- function _e(e, n, t, i) {
2237
+ function ye(e, n, t, i) {
2221
2238
  const s = `${e._3DSwym}/api/directmessages/lite?with_favorites=false`;
2222
2239
  C(e, (r) => {
2223
2240
  m(s, {
@@ -2226,9 +2243,9 @@ function _e(e, n, t, i) {
2226
2243
  Accept: "application/json,text/javascript,*/*",
2227
2244
  "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
2228
2245
  },
2229
- onComplete(a) {
2230
- const o = JSON.parse(a), c = [];
2231
- o.result.forEach((p) => {
2246
+ onComplete(o) {
2247
+ const a = JSON.parse(o), c = [];
2248
+ a.result.forEach((p) => {
2232
2249
  p.users = p.users.sort((f, l) => f.login.localeCompare(l.login)), p.users.length === n.length && c.push(p);
2233
2250
  });
2234
2251
  const d = n.sort(), u = c.find((p) => {
@@ -2239,9 +2256,9 @@ function _e(e, n, t, i) {
2239
2256
  });
2240
2257
  t && u !== void 0 ? t(u) : (i || u === void 0) && i(u);
2241
2258
  },
2242
- onFailure(a) {
2243
- const o = a;
2244
- o.msg = headers.errormsg, o.errCode = headers.errorcode, console.log("❌ sendDirectMessageLite => ", o), i && i(o);
2259
+ onFailure(o) {
2260
+ const a = o;
2261
+ a.msg = headers.errormsg, a.errCode = headers.errorcode, console.log("❌ sendDirectMessageLite => ", a), i && i(a);
2245
2262
  }
2246
2263
  });
2247
2264
  });
@@ -2252,7 +2269,7 @@ function P(e, n, t = void 0, i = void 0) {
2252
2269
  uri: "/api/community",
2253
2270
  id_msg: `${n.id_msg}`,
2254
2271
  endUri: "/instantmessages"
2255
- }, r = `${s.base}${s.uri}/${s.id_msg}${s.endUri}`, a = {
2272
+ }, r = `${s.base}${s.uri}/${s.id_msg}${s.endUri}`, o = {
2256
2273
  author: { login: n.senderId, displayName: n.senderName },
2257
2274
  accessState: null,
2258
2275
  commentUri: null,
@@ -2262,15 +2279,15 @@ function P(e, n, t = void 0, i = void 0) {
2262
2279
  parentCommentUri: null,
2263
2280
  richMessage: n.msg
2264
2281
  };
2265
- console.log("_3dSwym_sendDirectMessageData url ", r), C(e, (o) => {
2282
+ console.log("_3dSwym_sendDirectMessageData url ", r), C(e, (a) => {
2266
2283
  m(r, {
2267
2284
  method: "POST",
2268
2285
  headers: {
2269
2286
  "Content-Type": "application/json",
2270
2287
  Accept: "application/json",
2271
- "X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
2288
+ "X-DS-SWYM-CSRFTOKEN": a.result.ServerToken
2272
2289
  },
2273
- data: JSON.stringify(a),
2290
+ data: JSON.stringify(o),
2274
2291
  type: "json",
2275
2292
  onComplete(c, d, u) {
2276
2293
  const p = c;
@@ -2283,25 +2300,25 @@ function P(e, n, t = void 0, i = void 0) {
2283
2300
  });
2284
2301
  });
2285
2302
  }
2286
- function Se(e) {
2303
+ function _e(e) {
2287
2304
  const n = (/* @__PURE__ */ new Date()).toLocaleDateString(), t = (/* @__PURE__ */ new Date()).toLocaleTimeString();
2288
2305
  return `<p>${e} </p>
2289
2306
  <br/>
2290
2307
  <hr/>
2291
2308
  <p><u>envoyer :</u>Le <b>${n} à ${t}</b></p>`;
2292
2309
  }
2293
- function $t(e, n, t = void 0, i = void 0) {
2310
+ function Ut(e, n, t = void 0, i = void 0) {
2294
2311
  const s = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
2295
2312
  (c) => c.id === n.community_id
2296
- ), a = e.swymCommunities.find(
2313
+ ), o = e.swymCommunities.find(
2297
2314
  (c) => c.title.toLowerCase() === n.community_title.toLowerCase()
2298
- ), o = {
2315
+ ), a = {
2299
2316
  params: {
2300
2317
  title: n.title,
2301
2318
  // String, le nom de l'affaire
2302
- community_id: r?.id !== void 0 ? r.id : a.id,
2319
+ community_id: r?.id !== void 0 ? r.id : o.id,
2303
2320
  // String, l'id de la communauté
2304
- message: we(n.text_html),
2321
+ message: Se(n.text_html),
2305
2322
  // STRING => le contenue du message doit être au format HTML
2306
2323
  published: 1
2307
2324
  // 1 publier, 0 non publier
@@ -2316,7 +2333,7 @@ function $t(e, n, t = void 0, i = void 0) {
2316
2333
  m(s, {
2317
2334
  method: "POST",
2318
2335
  headers: d,
2319
- data: JSON.stringify(o),
2336
+ data: JSON.stringify(a),
2320
2337
  type: "json",
2321
2338
  onComplete(u, p, f) {
2322
2339
  const l = JSON.parse(u);
@@ -2329,32 +2346,32 @@ function $t(e, n, t = void 0, i = void 0) {
2329
2346
  });
2330
2347
  });
2331
2348
  }
2332
- function Ut(e, n = void 0, t = void 0) {
2349
+ function xt(e, n = void 0, t = void 0) {
2333
2350
  const i = { base: e.space, uri: "/api/idea/add" };
2334
2351
  if (!Array.isArray(e.swymCommunities)) {
2335
- const a = "☠️ swymCommunities doit être un tableau d'objets de communautés";
2352
+ const o = "☠️ swymCommunities doit être un tableau d'objets de communautés";
2336
2353
  throw new Error(`Erreur sur cette requête : ${i.base + i.uri}`, {
2337
- cause: a
2354
+ cause: o
2338
2355
  });
2339
2356
  }
2340
2357
  if (e.swymCommunities.findIndex(
2341
- (a) => a.id === e.community_id
2358
+ (o) => o.id === e.community_id
2342
2359
  ) === -1) {
2343
- const a = "la communauté n'existe pas dans la liste des communautés du Swym";
2360
+ const o = "la communauté n'existe pas dans la liste des communautés du Swym";
2344
2361
  throw new Error(`Erreur sur cette requête : ${i.base + i.uri}`, {
2345
- cause: a
2362
+ cause: o
2346
2363
  });
2347
2364
  }
2348
2365
  if (e.community_id && e.community_id === "") {
2349
- const a = "☠️ community_id doit être un String qui contient l'id de la communauté dans laquelle on souhaite publier l'idée.";
2366
+ const o = "☠️ community_id doit être un String qui contient l'id de la communauté dans laquelle on souhaite publier l'idée.";
2350
2367
  throw new Error(`Erreur sur cette requête : ${i.base + i.uri}`, {
2351
- cause: a
2368
+ cause: o
2352
2369
  });
2353
2370
  }
2354
2371
  if (e.title && e.title === "") {
2355
- const a = "☠️ title doit être un String.";
2372
+ const o = "☠️ title doit être un String.";
2356
2373
  throw new Error(`Erreur sur cette requête : ${i.base + i.uri}`, {
2357
- cause: a
2374
+ cause: o
2358
2375
  });
2359
2376
  }
2360
2377
  const r = {
@@ -2369,19 +2386,19 @@ function Ut(e, n = void 0, t = void 0) {
2369
2386
  // 1 publier, 0 brouillon
2370
2387
  }
2371
2388
  };
2372
- C(e, (a) => {
2373
- if (!a)
2389
+ C(e, (o) => {
2390
+ if (!o)
2374
2391
  throw new Error(
2375
2392
  `☠️ token n'est pas disponible pour cette requête : ${i.base + i.uri}`,
2376
2393
  {
2377
- cause: a
2394
+ cause: o
2378
2395
  }
2379
2396
  );
2380
- const o = {
2397
+ const a = {
2381
2398
  headers: {
2382
2399
  "Content-type": "application/json;charset=UTF-8",
2383
2400
  Accept: "application/json",
2384
- "X-DS-SWYM-CSRFTOKEN": a?.result?.ServerToken
2401
+ "X-DS-SWYM-CSRFTOKEN": o?.result?.ServerToken
2385
2402
  },
2386
2403
  method: "POST",
2387
2404
  data: JSON.stringify(r),
@@ -2399,43 +2416,43 @@ function Ut(e, n = void 0, t = void 0) {
2399
2416
  t && t(l);
2400
2417
  }
2401
2418
  };
2402
- m(i.base + i.uri, o);
2419
+ m(i.base + i.uri, a);
2403
2420
  });
2404
2421
  }
2405
- function xt(e, n, t = void 0, i = void 0) {
2422
+ function Ft(e, n, t = void 0, i = void 0) {
2406
2423
  const s = `${e.space}/api/idea/delete`, r = {
2407
2424
  params: {
2408
2425
  community_id: n.community_id,
2409
2426
  ideationIds: [n.idee_id]
2410
2427
  }
2411
2428
  };
2412
- C(e, (a) => {
2429
+ C(e, (o) => {
2413
2430
  m(s, {
2414
2431
  method: "POST",
2415
2432
  headers: {
2416
2433
  "Content-type": "application/json;charset=UTF-8",
2417
2434
  Accept: "application/json",
2418
- "X-DS-SWYM-CSRFTOKEN": a?.result?.ServerToken
2435
+ "X-DS-SWYM-CSRFTOKEN": o?.result?.ServerToken
2419
2436
  },
2420
2437
  data: JSON.stringify(r),
2421
2438
  type: "json",
2422
- onComplete(o, c, d) {
2423
- t && t(o);
2439
+ onComplete(a, c, d) {
2440
+ t && t(a);
2424
2441
  },
2425
- onFailure(o, c, d) {
2426
- const u = o;
2442
+ onFailure(a, c, d) {
2443
+ const u = a;
2427
2444
  u.status = c.status, u.response = c.errormsg, i && i(u);
2428
2445
  }
2429
2446
  });
2430
2447
  });
2431
2448
  }
2432
- function It(e, n = void 0, t = void 0) {
2449
+ function Nt(e, n = void 0, t = void 0) {
2433
2450
  const { _3DSwym: i, _3DSwym_token: s } = e, r = `${i}/api/idea/get`;
2434
2451
  if (e.idPost === "") {
2435
- const o = "☠️ idPost est vide, vous devez renseigner un identifiant de post";
2436
- throw new Error(`Erreur sur cette requête : ${r}`, { cause: o });
2452
+ const a = "☠️ idPost est vide, vous devez renseigner un identifiant de post";
2453
+ throw new Error(`Erreur sur cette requête : ${r}`, { cause: a });
2437
2454
  }
2438
- const a = {
2455
+ const o = {
2439
2456
  params: {
2440
2457
  id: e.idPost
2441
2458
  }
@@ -2447,23 +2464,23 @@ function It(e, n = void 0, t = void 0) {
2447
2464
  Accept: "application/json",
2448
2465
  "X-DS-SWYM-CSRFTOKEN": s
2449
2466
  },
2450
- data: JSON.stringify(a),
2451
- onComplete(o) {
2452
- o = typeof o == "string" ? JSON.parse(o) : o, n && n({ response: o });
2467
+ data: JSON.stringify(o),
2468
+ onComplete(a) {
2469
+ a = typeof a == "string" ? JSON.parse(a) : a, n && n({ response: a });
2453
2470
  },
2454
- onFailure(o) {
2455
- const c = o;
2471
+ onFailure(a) {
2472
+ const c = a;
2456
2473
  c.status = headers.status, c.response = headers.errormsg, t && t(c);
2457
2474
  }
2458
2475
  });
2459
2476
  }
2460
- function Nt(e, n, t) {
2477
+ function It(e, n, t) {
2461
2478
  const {
2462
2479
  _3DSwym: i,
2463
2480
  _3DSwym_token: s,
2464
2481
  idPost: r,
2465
- title: a,
2466
- community_id: o,
2482
+ title: o,
2483
+ community_id: a,
2467
2484
  status_comment: c,
2468
2485
  status_id: d,
2469
2486
  message: u
@@ -2481,8 +2498,8 @@ function Nt(e, n, t) {
2481
2498
  params: {
2482
2499
  out: "false",
2483
2500
  id: r,
2484
- title: a,
2485
- community_id: o,
2501
+ title: o,
2502
+ community_id: a,
2486
2503
  status_comment: c,
2487
2504
  status_id: d,
2488
2505
  message: u,
@@ -2504,15 +2521,15 @@ function Nt(e, n, t) {
2504
2521
  }
2505
2522
  function Rt(e, n, t = void 0, i = void 0) {
2506
2523
  const { _3DSwym: s } = e;
2507
- let { community_id: r, limit: a, page: o, search: c } = n;
2524
+ let { community_id: r, limit: o, page: a, search: c } = n;
2508
2525
  const d = [], u = 1;
2509
2526
  let p = !1, f = 2;
2510
- o || (o = u), a || (a = 100);
2527
+ a || (a = u), o || (o = 100);
2511
2528
  const l = {
2512
2529
  uri: "/api/idea/list",
2513
2530
  comId: `/community_id/${r}`,
2514
- limit: `/limit/${a}`,
2515
- page: `/page/${o}`
2531
+ limit: `/limit/${o}`,
2532
+ page: `/page/${a}`
2516
2533
  };
2517
2534
  let g = `${s}${l.uri}${l.comId}${l.limit}${l.page}`;
2518
2535
  C(e, (h) => {
@@ -2524,8 +2541,8 @@ function Rt(e, n, t = void 0, i = void 0) {
2524
2541
  },
2525
2542
  onComplete(w) {
2526
2543
  const _ = { response: JSON.parse(w) };
2527
- if (f = Math.ceil(Number(_.response.nb_result) / 100), w && f >= o) {
2528
- if (o++, l.page = `/page/${o}`, S = `${s}${l.uri}${l.comId}${l.limit}${l.page}`, !c)
2544
+ if (f = Math.ceil(Number(_.response.nb_result) / 100), w && f >= a) {
2545
+ if (a++, l.page = `/page/${a}`, S = `${s}${l.uri}${l.comId}${l.limit}${l.page}`, !c)
2529
2546
  d.push(_.response.result);
2530
2547
  else {
2531
2548
  const O = _.response.result.find(
@@ -2536,7 +2553,7 @@ function Rt(e, n, t = void 0, i = void 0) {
2536
2553
  return;
2537
2554
  }
2538
2555
  }
2539
- if (t && f < o && !c) {
2556
+ if (t && f < a && !c) {
2540
2557
  p = !0, t(d);
2541
2558
  return;
2542
2559
  }
@@ -2552,7 +2569,7 @@ function Rt(e, n, t = void 0, i = void 0) {
2552
2569
  p || y(g);
2553
2570
  });
2554
2571
  }
2555
- function we(e) {
2572
+ function Se(e) {
2556
2573
  return !e || e === "" ? `<h2><u>INFORMATIONS AFFAIRE :</u></h2>
2557
2574
  <p><u>|⚠️<em> Merci de respecter l&#39;écriture des tags, en MAJUSCULES, nom complet, pas de caractères</em></u></p>
2558
2575
  <p><u><em>|spéciaux, séparation par &#34;_&#34; si besoin !</em></u></p>
@@ -2627,9 +2644,9 @@ function we(e) {
2627
2644
  <p>
2628
2645
  </p>` : e;
2629
2646
  }
2630
- function Ft(e, n = void 0, t = void 0) {
2631
- const { tenant: i, _3DSwym: s, _3DSwym_token: r, community_id: a, idea_id: o } = e;
2632
- if (i && s && r && a && o) {
2647
+ function kt(e, n = void 0, t = void 0) {
2648
+ const { tenant: i, _3DSwym: s, _3DSwym_token: r, community_id: o, idea_id: a } = e;
2649
+ if (i && s && r && o && a) {
2633
2650
  const c = `${s}/api/idea/forward`;
2634
2651
  m(c, {
2635
2652
  method: "POST",
@@ -2639,8 +2656,8 @@ function Ft(e, n = void 0, t = void 0) {
2639
2656
  "X-DS-SWYM-CSRFTOKEN": r
2640
2657
  },
2641
2658
  data: JSON.stringify({
2642
- community_uri: `swym:prd:${i.toUpperCase()}:community:${a}`,
2643
- content_uri: `swym:prd:${i.toUpperCase()}:idea:${o}`,
2659
+ community_uri: `swym:prd:${i.toUpperCase()}:community:${o}`,
2660
+ content_uri: `swym:prd:${i.toUpperCase()}:idea:${a}`,
2644
2661
  timeout: 3e4
2645
2662
  }),
2646
2663
  type: "json",
@@ -2660,16 +2677,16 @@ function Ft(e, n = void 0, t = void 0) {
2660
2677
  credentials: e
2661
2678
  });
2662
2679
  }
2663
- function kt(e, n = void 0, t = void 0) {
2680
+ function jt(e, n = void 0, t = void 0) {
2664
2681
  return new Promise((i, s) => {
2665
2682
  try {
2666
2683
  let r;
2667
2684
  if (e._3DDashboard) {
2668
- const a = e._3DDashboard + "/api/users/current";
2669
- m(a, {
2685
+ const o = e._3DDashboard + "/api/users/current";
2686
+ m(o, {
2670
2687
  method: "GET",
2671
- onComplete(o, c, d) {
2672
- let u = o.replace(/\"\[/g, "[").replace(/\]\"/g, "]").replace(/\"{/g, "{").replace(/}\"/g, "}").replace(/\\/g, "");
2688
+ onComplete(a, c, d) {
2689
+ let u = a.replace(/\"\[/g, "[").replace(/\]\"/g, "]").replace(/\"{/g, "{").replace(/}\"/g, "}").replace(/\\/g, "");
2673
2690
  u = u.replace(/\"\[/g, "[").replace(/\]\"/g, "]").replace(/\"{/g, "{").replace(/}\"/g, "}").replace(/\\/g, "");
2674
2691
  let p = {};
2675
2692
  try {
@@ -2679,8 +2696,8 @@ function kt(e, n = void 0, t = void 0) {
2679
2696
  }
2680
2697
  p.first_name = p?.firstName ? p.firstName : "", p.last_name = p?.lastName ? p.lastName : "", r = p, i(p);
2681
2698
  },
2682
- onFailure(o) {
2683
- s("ERROR | _3DSwym_get_currentUser => _3DDashboard + /api/users/current", o);
2699
+ onFailure(a) {
2700
+ s("ERROR | _3DSwym_get_currentUser => _3DDashboard + /api/users/current", a);
2684
2701
  }
2685
2702
  });
2686
2703
  }
@@ -2690,7 +2707,7 @@ function kt(e, n = void 0, t = void 0) {
2690
2707
  }
2691
2708
  });
2692
2709
  }
2693
- function jt(e, n, t = void 0, i = void 0) {
2710
+ function vt(e, n, t = void 0, i = void 0) {
2694
2711
  const s = e.space + "/api/user/find/login/" + n;
2695
2712
  C(
2696
2713
  e,
@@ -2698,32 +2715,32 @@ function jt(e, n, t = void 0, i = void 0) {
2698
2715
  m(s, {
2699
2716
  method: "GET",
2700
2717
  headers: { "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken },
2701
- onComplete(a, o, c) {
2702
- const d = JSON.parse(a);
2718
+ onComplete(o, a, c) {
2719
+ const d = JSON.parse(o);
2703
2720
  t && t(d);
2704
2721
  },
2705
- onFailure(a) {
2706
- i && i(a);
2722
+ onFailure(o) {
2723
+ i && i(o);
2707
2724
  }
2708
2725
  });
2709
2726
  },
2710
2727
  i
2711
2728
  );
2712
2729
  }
2713
- function vt(e, n = void 0, t = void 0) {
2730
+ function Dt(e, n = void 0, t = void 0) {
2714
2731
  const {
2715
2732
  _3DSwym: i,
2716
2733
  _3DSwym_token: s,
2717
2734
  subjectUri: r,
2718
- richMessage: a
2719
- } = e, o = `${i}/commentproxy/subjects/${r}/comments`, d = {
2735
+ richMessage: o
2736
+ } = e, a = `${i}/commentproxy/subjects/${r}/comments`, d = {
2720
2737
  method: "POST",
2721
2738
  headers: {
2722
2739
  "Content-type": "application/json;charset=UTF-8",
2723
2740
  Accept: "application/json",
2724
2741
  "X-DS-SWYM-CSRFTOKEN": s
2725
2742
  },
2726
- data: JSON.stringify({ richMessage: a }),
2743
+ data: JSON.stringify({ richMessage: o }),
2727
2744
  type: "json",
2728
2745
  onComplete(u, p, f) {
2729
2746
  const l = {
@@ -2735,35 +2752,35 @@ function vt(e, n = void 0, t = void 0) {
2735
2752
  t && t(u);
2736
2753
  }
2737
2754
  };
2738
- m(o, d);
2755
+ m(a, d);
2739
2756
  }
2740
- function Dt(e, n = void 0, t = void 0) {
2741
- e.tenant && J(e, (i) => {
2757
+ function At(e, n = void 0, t = void 0) {
2758
+ e.tenant && M(e, (i) => {
2742
2759
  const s = i.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
2743
2760
  return n && n(s), s;
2744
2761
  });
2745
2762
  }
2746
- function At(e, n = void 0, t = void 0) {
2747
- e.tenant ? J(e, (i) => {
2763
+ function Pt(e, n = void 0, t = void 0) {
2764
+ e.tenant ? M(e, (i) => {
2748
2765
  const s = i.services.find(
2749
- (o) => o.id === "3dpassport"
2750
- )?.url, r = i.services.find((o) => o.id === "businessprocess")?.url + "/api/v2", a = `${s}/login/?cors=false&service=${r}/auth/cas`;
2751
- m(a, {
2752
- async onComplete(o) {
2753
- const c = typeof o == "string" ? JSON.parse(o)?.x3ds_service_redirect_url : o?.x3ds_service_redirect_url;
2766
+ (a) => a.id === "3dpassport"
2767
+ )?.url, r = i.services.find((a) => a.id === "businessprocess")?.url + "/api/v2", o = `${s}/login/?cors=false&service=${r}/auth/cas`;
2768
+ m(o, {
2769
+ async onComplete(a) {
2770
+ const c = typeof a == "string" ? JSON.parse(a)?.x3ds_service_redirect_url : a?.x3ds_service_redirect_url;
2754
2771
  await fetch(c, {
2755
2772
  method: "POST"
2756
2773
  }).then((d) => d.json()).then(async (d) => {
2757
2774
  n && n(d?.token);
2758
2775
  });
2759
2776
  },
2760
- onFailure(o) {
2761
- t && t(o);
2777
+ onFailure(a) {
2778
+ t && t(a);
2762
2779
  }
2763
2780
  });
2764
2781
  }) : t && t("No tenant");
2765
2782
  }
2766
- function Pt(e, n = void 0, t = void 0) {
2783
+ function Lt(e, n = void 0, t = void 0) {
2767
2784
  if (e.tenant) {
2768
2785
  const i = e.tenant.toLowerCase();
2769
2786
  fetch(`https://api.uixhome.fr/${i}/iterop/jwtuser`, {
@@ -2775,7 +2792,7 @@ function Pt(e, n = void 0, t = void 0) {
2775
2792
  });
2776
2793
  }
2777
2794
  }
2778
- async function Lt(e, n, t = void 0, i = void 0) {
2795
+ async function Mt(e, n, t = void 0, i = void 0) {
2779
2796
  if (e.tenant) {
2780
2797
  const s = e.tenant.toLowerCase();
2781
2798
  fetch(
@@ -2798,14 +2815,14 @@ function Jt(e, n, t, i = void 0, s = void 0) {
2798
2815
  {
2799
2816
  method: "POST"
2800
2817
  }
2801
- ).then((a) => a.json()).then((a) => {
2802
- i && i(a);
2803
- }).catch((a) => {
2804
- s && s(a);
2818
+ ).then((o) => o.json()).then((o) => {
2819
+ i && i(o);
2820
+ }).catch((o) => {
2821
+ s && s(o);
2805
2822
  });
2806
2823
  }
2807
2824
  }
2808
- async function Mt(e, n, t, i = void 0, s = void 0) {
2825
+ async function Gt(e, n, t, i = void 0, s = void 0) {
2809
2826
  if (e.tenant) {
2810
2827
  const r = e.tenant.toLowerCase();
2811
2828
  fetch(
@@ -2816,39 +2833,39 @@ async function Mt(e, n, t, i = void 0, s = void 0) {
2816
2833
  "Access-Control-Allow-Origin": "*"
2817
2834
  }
2818
2835
  }
2819
- ).then((a) => a.json()).then((a) => {
2820
- i && i(a);
2821
- }).catch((a) => {
2822
- s && s(a);
2836
+ ).then((o) => o.json()).then((o) => {
2837
+ i && i(o);
2838
+ }).catch((o) => {
2839
+ s && s(o);
2823
2840
  });
2824
2841
  }
2825
2842
  }
2826
- async function Gt(e, n, t, i, s = void 0, r = void 0) {
2843
+ async function Bt(e, n, t, i, s = void 0, r = void 0) {
2827
2844
  if (e.tenant) {
2828
- const a = e.tenant.toLowerCase();
2845
+ const o = e.tenant.toLowerCase();
2829
2846
  fetch(
2830
- `https://api.uixhome.fr/${a}/iterop/businesstable/patch/rows/${t}/?t=${n}&b=${i}`,
2847
+ `https://api.uixhome.fr/${o}/iterop/businesstable/patch/rows/${t}/?t=${n}&b=${i}`,
2831
2848
  {
2832
2849
  method: "POST"
2833
2850
  }
2834
- ).then((o) => o.json()).then((o) => {
2835
- s && s(o);
2836
- }).catch((o) => {
2837
- r && r(o, t, i);
2851
+ ).then((a) => a.json()).then((a) => {
2852
+ s && s(a);
2853
+ }).catch((a) => {
2854
+ r && r(a, t, i);
2838
2855
  });
2839
2856
  }
2840
2857
  }
2841
- async function Bt(e, n, t, i, s, r = void 0, a = void 0) {
2858
+ async function Et(e, n, t, i, s, r = void 0, o = void 0) {
2842
2859
  if (e.tenant) {
2843
- const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/search/rows/${t}?t=${n}&c=${encodeURIComponent(
2860
+ const a = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/search/rows/${t}?t=${n}&c=${encodeURIComponent(
2844
2861
  i
2845
2862
  )}&b=${encodeURIComponent(s)}`;
2846
- fetch(o, {
2863
+ fetch(a, {
2847
2864
  method: "POST"
2848
2865
  }).then((c) => c.json()).then((c) => {
2849
- c.url = o, r && r(c);
2866
+ c.url = a, r && r(c);
2850
2867
  }).catch((c) => {
2851
- a && a({
2868
+ o && o({
2852
2869
  error: c,
2853
2870
  tableId: t,
2854
2871
  columns: i,
@@ -2857,56 +2874,56 @@ async function Bt(e, n, t, i, s, r = void 0, a = void 0) {
2857
2874
  });
2858
2875
  }
2859
2876
  }
2860
- async function Et(e, n, t, i, s = void 0, r = void 0) {
2877
+ async function Kt(e, n, t, i, s = void 0, r = void 0) {
2861
2878
  if (e.tenant) {
2862
- const a = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${t}?t=${n}&b=${encodeURIComponent(
2879
+ const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${t}?t=${n}&b=${encodeURIComponent(
2863
2880
  i
2864
2881
  )}`;
2865
- fetch(a, {
2882
+ fetch(o, {
2866
2883
  method: "POST"
2867
- }).then((o) => o.json()).then((o) => {
2868
- s && s(o);
2869
- }).catch((o) => {
2884
+ }).then((a) => a.json()).then((a) => {
2885
+ s && s(a);
2886
+ }).catch((a) => {
2870
2887
  r && r({
2871
- error: o,
2872
- url: a
2888
+ error: a,
2889
+ url: o
2873
2890
  });
2874
2891
  });
2875
2892
  }
2876
2893
  }
2877
- async function Kt(e, n, t, i = void 0, s = void 0) {
2894
+ async function qt(e, n, t, i = void 0, s = void 0) {
2878
2895
  if (e.tenant) {
2879
2896
  const r = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/create/?t=${n}&b=${encodeURIComponent(
2880
2897
  t
2881
2898
  )}`;
2882
2899
  fetch(r, {
2883
2900
  method: "POST"
2884
- }).then((a) => a.json()).then((a) => {
2885
- i && i(a);
2886
- }).catch((a) => {
2901
+ }).then((o) => o.json()).then((o) => {
2902
+ i && i(o);
2903
+ }).catch((o) => {
2887
2904
  s && s({
2888
- error: a,
2905
+ error: o,
2889
2906
  url: r
2890
2907
  });
2891
2908
  });
2892
2909
  }
2893
2910
  }
2894
- async function qt(e, n, t, i, s = void 0, r = void 0) {
2911
+ async function Xt(e, n, t, i, s = void 0, r = void 0) {
2895
2912
  if (e.tenant) {
2896
- const a = e.tenant.toLowerCase();
2913
+ const o = e.tenant.toLowerCase();
2897
2914
  fetch(
2898
- `https://api.uixhome.fr/${a}/iterop/runtime/processes/${t}?t=${n}&b=${i}`,
2915
+ `https://api.uixhome.fr/${o}/iterop/runtime/processes/${t}?t=${n}&b=${i}`,
2899
2916
  {
2900
2917
  method: "POST"
2901
2918
  }
2902
- ).then((o) => o.json()).then((o) => {
2903
- console.log("_Iterop_runProcess : OK"), s && s(o);
2904
- }).catch((o) => {
2905
- r && r(o);
2919
+ ).then((a) => a.json()).then((a) => {
2920
+ console.log("_Iterop_runProcess : OK"), s && s(a);
2921
+ }).catch((a) => {
2922
+ r && r(a);
2906
2923
  });
2907
2924
  }
2908
2925
  }
2909
- async function Xt(e, n, t, i = void 0, s = void 0) {
2926
+ async function Wt(e, n, t, i = void 0, s = void 0) {
2910
2927
  if (console.log("_Iterop_GetOneDependencyTable | Run"), e.tenant) {
2911
2928
  const r = e.tenant.toLowerCase();
2912
2929
  fetch(
@@ -2914,45 +2931,45 @@ async function Xt(e, n, t, i = void 0, s = void 0) {
2914
2931
  {
2915
2932
  method: "POST"
2916
2933
  }
2917
- ).then((a) => a.json()).then((a) => {
2918
- i && i(a);
2919
- }).catch((a) => {
2920
- s && s(a);
2934
+ ).then((o) => o.json()).then((o) => {
2935
+ i && i(o);
2936
+ }).catch((o) => {
2937
+ s && s(o);
2921
2938
  });
2922
2939
  }
2923
2940
  }
2924
- async function Wt(e, n, t, i, s, r = void 0, a = void 0) {
2941
+ async function Vt(e, n, t, i, s, r = void 0, o = void 0) {
2925
2942
  if (e.tenant) {
2926
- const o = e.tenant.toLowerCase();
2943
+ const a = e.tenant.toLowerCase();
2927
2944
  fetch(
2928
- `https://api.uixhome.fr/${o}/iterop/dependencytable/patch/${t}/?t=${n}&cli=${i}&b=${s}`,
2945
+ `https://api.uixhome.fr/${a}/iterop/dependencytable/patch/${t}/?t=${n}&cli=${i}&b=${s}`,
2929
2946
  {
2930
2947
  method: "POST"
2931
2948
  }
2932
2949
  ).then((c) => c.json()).then((c) => {
2933
2950
  r && r(c);
2934
2951
  }).catch((c) => {
2935
- a && a(c);
2952
+ o && o(c);
2936
2953
  });
2937
2954
  }
2938
2955
  }
2939
- async function Vt(e, n, t, i, s = void 0, r = void 0) {
2956
+ async function Yt(e, n, t, i, s = void 0, r = void 0) {
2940
2957
  if (e.tenant) {
2941
- const a = e.tenant.toLowerCase();
2958
+ const o = e.tenant.toLowerCase();
2942
2959
  fetch(
2943
- `https://api.uixhome.fr/${a}/iterop/dependencytable/put/${t}/?t=${n}&b=${i}`,
2960
+ `https://api.uixhome.fr/${o}/iterop/dependencytable/put/${t}/?t=${n}&b=${i}`,
2944
2961
  {
2945
2962
  method: "POST"
2946
2963
  }
2947
- ).then((o) => o.json()).then((o) => {
2948
- s && s(o);
2949
- }).catch((o) => {
2950
- r && r(o);
2964
+ ).then((a) => a.json()).then((a) => {
2965
+ s && s(a);
2966
+ }).catch((a) => {
2967
+ r && r(a);
2951
2968
  });
2952
2969
  }
2953
2970
  }
2954
2971
  //!SECTION
2955
- async function Yt(e, n, t, i = void 0, s = void 0) {
2972
+ async function zt(e, n, t, i = void 0, s = void 0) {
2956
2973
  if (e.tenant) {
2957
2974
  const r = e.tenant.toLowerCase();
2958
2975
  fetch(
@@ -2960,42 +2977,42 @@ async function Yt(e, n, t, i = void 0, s = void 0) {
2960
2977
  {
2961
2978
  method: "POST"
2962
2979
  }
2963
- ).then((a) => a.json()).then((a) => {
2964
- i && i(a);
2965
- }).catch((a) => {
2966
- s && s(a);
2980
+ ).then((o) => o.json()).then((o) => {
2981
+ i && i(o);
2982
+ }).catch((o) => {
2983
+ s && s(o);
2967
2984
  });
2968
2985
  }
2969
2986
  }
2970
2987
  //!SECTION
2971
- function zt(e) {
2988
+ function Ht(e) {
2972
2989
  const n = "Hello " + e;
2973
2990
  return console.log(n), n;
2974
2991
  }
2975
- function Ht(e, n = void 0, t = void 0) {
2992
+ function Qt(e, n = void 0, t = void 0) {
2976
2993
  return console.log("credentials", e), new Promise((i) => {
2977
2994
  if (e.token === "" && b(e), !e.space || e.space === "") {
2978
- const a = Z();
2979
- console.log("platformeInfo", a);
2995
+ const o = Z();
2996
+ console.log("platformeInfo", o);
2980
2997
  }
2981
- F(
2998
+ R(
2982
2999
  e,
2983
3000
  "Common space",
2984
3001
  ["VPLMProjectLeader", "VPLMCreator"],
2985
3002
  void 0,
2986
- (a) => e.ctx = a,
2987
- (a) => {
2988
- console.log("onError =>", a);
3003
+ (o) => e.ctx = o,
3004
+ (o) => {
3005
+ console.log("onError =>", o);
2989
3006
  },
2990
3007
  !0
2991
3008
  );
2992
3009
  const s = T.now().ts, r = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dsearch&platformId=${e.tenant}`;
2993
3010
  m(r, {
2994
- onComplete(a) {
2995
- if (Array.isArray(JSON.parse(a))) {
2996
- const o = JSON.parse(a);
2997
- console.log("serviceId=3dsearch", o);
2998
- const c = `${o[0].services[0].url}/search?xrequestedwith=xmlhttprequest`;
3011
+ onComplete(o) {
3012
+ if (Array.isArray(JSON.parse(o))) {
3013
+ const a = JSON.parse(o);
3014
+ console.log("serviceId=3dsearch", a);
3015
+ const c = `${a[0].services[0].url}/search?xrequestedwith=xmlhttprequest`;
2999
3016
  m(c, {
3000
3017
  method: "POST",
3001
3018
  headers: {
@@ -3045,32 +3062,33 @@ function Ht(e, n = void 0, t = void 0) {
3045
3062
  });
3046
3063
  }
3047
3064
  },
3048
- onFailure(a) {
3049
- t && t(a);
3065
+ onFailure(o) {
3066
+ t && t(o);
3050
3067
  }
3051
3068
  });
3052
3069
  });
3053
3070
  }
3054
3071
  export {
3055
3072
  Y as UUID,
3056
- Ht as _3DSearch_usersGroup,
3073
+ Qt as _3DSearch_usersGroup,
3057
3074
  et as _3DSpace_Create_Doc,
3058
3075
  Ze as _3DSpace_Update_Doc,
3059
3076
  Qe as _3DSpace_Upload_File,
3060
- dt as _3DSpace_bookmark_addSubsciptions,
3061
- rt as _3DSpace_bookmark_getChildren,
3062
- ct as _3DSpace_bookmark_newWorkspace,
3077
+ ut as _3DSpace_bookmark_addSubsciptions,
3078
+ ct as _3DSpace_bookmark_getItems,
3079
+ rt as _3DSpace_bookmark_getSubSignets,
3080
+ dt as _3DSpace_bookmark_newWorkspace,
3063
3081
  b as _3DSpace_csrf,
3064
3082
  E as _3DSpace_download_doc,
3065
- de as _3DSpace_download_multidoc,
3083
+ ce as _3DSpace_download_multidoc,
3066
3084
  G as _3DSpace_file_update,
3067
- ae as _3DSpace_file_update_csr,
3085
+ oe as _3DSpace_file_update_csr,
3068
3086
  ze as _3DSpace_file_url_csr,
3069
- R as _3DSpace_get_csrf,
3070
- M as _3DSpace_get_docInfo,
3071
- ue as _3DSpace_get_downloadTicket_multidoc,
3072
- oe as _3DSpace_get_multiDocInfo,
3073
- F as _3DSpace_get_securityContexts,
3087
+ I as _3DSpace_get_csrf,
3088
+ J as _3DSpace_get_docInfo,
3089
+ de as _3DSpace_get_downloadTicket_multidoc,
3090
+ Ye as _3DSpace_get_multiDocInfo,
3091
+ R as _3DSpace_get_securityContexts,
3074
3092
  j as _3DSpace_get_ticket,
3075
3093
  ot as _3DSpace_lifecycle_changeRevision,
3076
3094
  nt as _3DSpace_lifecycle_changeState,
@@ -3079,81 +3097,81 @@ export {
3079
3097
  tt as _3DSpace_lifecycle_getNextStates,
3080
3098
  at as _3DSpace_lifecycle_getRevisions,
3081
3099
  He as _3DSpace_put_docInfo,
3082
- Ft as _3DSwym_ForwardIdea,
3083
- vt as _3DSwym_addComment,
3084
- Tt as _3DSwym_buildDirectMessage,
3085
- xt as _3DSwym_deleteIdea,
3086
- Nt as _3DSwym_editIdea,
3087
- _e as _3DSwym_findCommunityToInstantMSG,
3088
- bt as _3DSwym_getAllCommunities,
3100
+ kt as _3DSwym_ForwardIdea,
3101
+ Dt as _3DSwym_addComment,
3102
+ $t as _3DSwym_buildDirectMessage,
3103
+ Ft as _3DSwym_deleteIdea,
3104
+ It as _3DSwym_editIdea,
3105
+ ye as _3DSwym_findCommunityToInstantMSG,
3106
+ Ot as _3DSwym_getAllCommunities,
3089
3107
  Rt as _3DSwym_getAllListIdeas,
3090
- wt as _3DSwym_getAllNews,
3091
- Ct as _3DSwym_getFamiliarPeople,
3092
- Ot as _3DSwym_getIdeaStatusMaturity,
3093
- ye as _3DSwym_getMembersCommunity,
3094
- It as _3DSwym_getOneIdea,
3108
+ Ct as _3DSwym_getAllNews,
3109
+ bt as _3DSwym_getFamiliarPeople,
3110
+ Tt as _3DSwym_getIdeaStatusMaturity,
3111
+ he as _3DSwym_getMembersCommunity,
3112
+ Nt as _3DSwym_getOneIdea,
3095
3113
  C as _3DSwym_get_Token,
3096
- kt as _3DSwym_get_currentUser,
3097
- jt as _3DSwym_get_findUser,
3098
- Ut as _3DSwym_postIdea,
3099
- $t as _3DSwym_postIdeaTemplate,
3114
+ jt as _3DSwym_get_currentUser,
3115
+ vt as _3DSwym_get_findUser,
3116
+ xt as _3DSwym_postIdea,
3117
+ Ut as _3DSwym_postIdeaTemplate,
3100
3118
  P as _3DSwym_sendMessageData,
3101
3119
  Me as _AppMngt_get_info_user,
3102
- Je as _AppMngt_get_users,
3103
- Gt as _Iterop_AddOrRemoveRows,
3104
- At as _Iterop_Auth_CAS,
3105
- Xt as _Iterop_GetOneDependencyTable,
3106
- Yt as _Iterop_GetOneList,
3107
- Wt as _Iterop_PatchDependencyTable,
3108
- Vt as _Iterop_PutDependencyTable,
3109
- Bt as _Iterop_businessTableSearchInRows,
3110
- Kt as _Iterop_createBusinessTable,
3111
- Lt as _Iterop_getAllBusinessTables,
3120
+ Le as _AppMngt_get_users,
3121
+ Bt as _Iterop_AddOrRemoveRows,
3122
+ Pt as _Iterop_Auth_CAS,
3123
+ Wt as _Iterop_GetOneDependencyTable,
3124
+ zt as _Iterop_GetOneList,
3125
+ Vt as _Iterop_PatchDependencyTable,
3126
+ Yt as _Iterop_PutDependencyTable,
3127
+ Et as _Iterop_businessTableSearchInRows,
3128
+ qt as _Iterop_createBusinessTable,
3129
+ Mt as _Iterop_getAllBusinessTables,
3112
3130
  Jt as _Iterop_getOneBusinessTable,
3113
- Mt as _Iterop_getOneBusinessTableRows,
3114
- Pt as _Iterop_jwtUser,
3115
- qt as _Iterop_runProcess,
3116
- Et as _Iterop_updateBusinessTable,
3117
- Pe as _Registry_getServicesUrl,
3118
- De as _getMe,
3131
+ Gt as _Iterop_getOneBusinessTableRows,
3132
+ Lt as _Iterop_jwtUser,
3133
+ Xt as _Iterop_runProcess,
3134
+ Kt as _Iterop_updateBusinessTable,
3135
+ Ae as _Registry_getServicesUrl,
3136
+ ve as _getMe,
3119
3137
  Z as _getPlateformInfos,
3120
- ve as _getPlatformServices,
3121
- J as _getServiceUrl,
3122
- Ae as _getServiceUrl_3DPassport,
3123
- Dt as _getServiceUrl_Iterop,
3138
+ je as _getPlatformServices,
3139
+ M as _getServiceUrl,
3140
+ De as _getServiceUrl_3DPassport,
3141
+ At as _getServiceUrl_Iterop,
3124
3142
  m as _httpCallAuthenticated,
3125
- Fe as _setDraggable,
3126
- je as _setDroppable,
3127
- ke as _setupTagger,
3128
- yt as addTagToDoc,
3143
+ Ie as _setDraggable,
3144
+ ke as _setDroppable,
3145
+ Re as _setupTagger,
3146
+ _t as addTagToDoc,
3129
3147
  H as chunkArray,
3130
- Le as compass_getListAdditionalApps,
3148
+ Pe as compass_getListAdditionalApps,
3131
3149
  z as couleurs,
3132
- Ge as createUserGroups,
3133
- le as dataMixing,
3134
- Xe as deleteUserGroups,
3135
- Ie as findAdresse,
3136
- ut as getAllContextSecurity,
3150
+ Je as createUserGroups,
3151
+ pe as dataMixing,
3152
+ qe as deleteUserGroups,
3153
+ xe as findAdresse,
3154
+ pt as getAllContextSecurity,
3137
3155
  te as getCSRFToken,
3138
- xe as getCommunes,
3139
- Be as getComplementUG,
3140
- pt as getDataFrom3DSpace,
3141
- Ne as getDataFromGouvFr,
3142
- gt as getDatasByTenant,
3143
- ht as getDatasFrom3DSpace,
3144
- lt as getDownloadDocument,
3145
- St as getInfoDocTags,
3146
- qe as getUserGroupsByEmailList,
3147
- Ke as getUserGroupsByURIList,
3148
- Ee as getUserGroupsList,
3156
+ Ue as getCommunes,
3157
+ Ge as getComplementUG,
3158
+ lt as getDataFrom3DSpace,
3159
+ Fe as getDataFromGouvFr,
3160
+ ht as getDatasByTenant,
3161
+ yt as getDatasFrom3DSpace,
3162
+ ft as getDownloadDocument,
3163
+ wt as getInfoDocTags,
3164
+ Ke as getUserGroupsByEmailList,
3165
+ Ee as getUserGroupsByURIList,
3166
+ Be as getUserGroupsList,
3149
3167
  ee as getUsersGroupRules,
3150
- mt as get_3DSpace_csrf,
3151
- We as patchUserGroups,
3152
- Ve as patchUserGroupsControl,
3153
- ft as pushDataIn3DSpace,
3154
- Ye as readUserGroupControl,
3155
- _t as removeTagToDoc,
3156
- zt as sayHello,
3157
- Re as updateEvent
3168
+ gt as get_3DSpace_csrf,
3169
+ Xe as patchUserGroups,
3170
+ We as patchUserGroupsControl,
3171
+ mt as pushDataIn3DSpace,
3172
+ Ve as readUserGroupControl,
3173
+ St as removeTagToDoc,
3174
+ Ht as sayHello,
3175
+ Ne as updateEvent
3158
3176
  };
3159
3177
  //# sourceMappingURL=wb3Api.js.map