@beam3_dev/api_module 0.0.84 → 0.0.86

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
@@ -1,7 +1,7 @@
1
1
  import { v4 as M } from "uuid";
2
- import { DateTime as N } from "luxon";
3
- import { requirejs as O, widget as $ } from "@widget-lab/3ddashboard-utils";
4
- function I() {
2
+ import { DateTime as b } from "luxon";
3
+ import { requirejs as O, widget as j } from "@widget-lab/3ddashboard-utils";
4
+ function R() {
5
5
  return M();
6
6
  }
7
7
  const L = {
@@ -66,8 +66,8 @@ async function re(e, t = void 0, s = void 0) {
66
66
  });
67
67
  }
68
68
  async function ce(e, t = L) {
69
- let s = N.now().year;
70
- const n = e, i = [], c = (a) => {
69
+ let s = b.now().year;
70
+ const n = e, i = [], r = (a) => {
71
71
  for (let o in a)
72
72
  i.push({ date: o, comment: a[o] });
73
73
  };
@@ -81,7 +81,7 @@ async function ce(e, t = L) {
81
81
  }
82
82
  }
83
83
  ).then((o) => o.json()).then((o) => {
84
- c(o);
84
+ r(o);
85
85
  }).catch((o) => console.error("Erreur : " + o));
86
86
  return (() => {
87
87
  const a = n.length === 0 ? {
@@ -89,11 +89,11 @@ async function ce(e, t = L) {
89
89
  } : n;
90
90
  for (let o of i)
91
91
  a.events.findIndex(
92
- (l) => l.start === N.fromISO(o.date).toISODate() && l.name === "Férié : " + o.comment
92
+ (l) => l.start === b.fromISO(o.date).toISODate() && l.name === "Férié : " + o.comment
93
93
  ) === -1 && a.events.push({
94
94
  name: "Férié : " + o.comment,
95
- start: N.fromISO(o.date).toISODate(),
96
- end: N.fromISO(o.date).toISODate(),
95
+ start: b.fromISO(o.date).toISODate(),
96
+ end: b.fromISO(o.date).toISODate(),
97
97
  color: t.b3BusinnessDays,
98
98
  timed: !1
99
99
  });
@@ -102,7 +102,7 @@ async function ce(e, t = L) {
102
102
  }
103
103
  async function de(e, t, s = !0) {
104
104
  const n = e.events.findIndex((i) => i.uuid === t.uuid);
105
- return n === -1 ? e.events.push(t) : s ? e.events[n] = t : e.events.splice(n, 1), e.length > 0 && e.sort((i, c) => i.start - c.start), e;
105
+ return n === -1 ? e.events.push(t) : s ? e.events[n] = t : e.events.splice(n, 1), e.length > 0 && e.sort((i, r) => i.start - r.start), e;
106
106
  }
107
107
  function m(e, t) {
108
108
  O(["DS/WAFData/WAFData"], (s) => {
@@ -118,7 +118,7 @@ function pe(e, t = void 0) {
118
118
  O(["DS/TagNavigatorProxy/TagNavigatorProxy"], (s) => {
119
119
  let n;
120
120
  n === void 0 && (n = s.createProxy({
121
- widgetId: $.id,
121
+ widgetId: j.id,
122
122
  filteringMode: "WithFilteringServices"
123
123
  }), t !== void 0 && n.addEvent("onFilterSubjectsChange", t)), n.setSubjectsTags(e);
124
124
  });
@@ -132,7 +132,7 @@ async function fe(e, t = void 0, s = void 0) {
132
132
  await O(
133
133
  ["DS/i3DXCompassServices/i3DXCompassServices"],
134
134
  (n) => {
135
- (!e || e === "") && (e = $.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), t && t(
135
+ (!e || e === "") && (e = j.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), t && t(
136
136
  n.getPlatformServices({
137
137
  platformId: e,
138
138
  onComplete: t,
@@ -145,14 +145,14 @@ async function fe(e, t = void 0, s = void 0) {
145
145
  function me() {
146
146
  let e = {};
147
147
  return O(["DS/PlatformAPI/PlatformAPI"], (t) => {
148
- const s = t.getTenant(), n = t.getUser(), i = t.getAllApplicationConfigurations(), c = t.getApplicationConfiguration(
148
+ const s = t.getTenant(), n = t.getUser(), i = t.getAllApplicationConfigurations(), r = t.getApplicationConfiguration(
149
149
  "com.3ds.wp.passport.cors"
150
150
  );
151
151
  e = {
152
152
  tenant: s,
153
153
  user: n,
154
154
  appsConfiguration: i,
155
- appConf: c
155
+ appConf: r
156
156
  };
157
157
  }), console.log("%cRETOUR API :", "color:blue", e), e;
158
158
  }
@@ -169,58 +169,58 @@ function ge(e, t, s) {
169
169
  "Content-Type": "application/json",
170
170
  Accept: "application/json"
171
171
  },
172
- onComplete(c, r, a) {
173
- const o = JSON.parse(c), d = o.data.map((l) => {
172
+ onComplete(r, c, a) {
173
+ const o = JSON.parse(r), d = o.data.map((l) => {
174
174
  const p = l.attributes.name, u = l.id;
175
175
  return { name: p, id: u };
176
176
  });
177
177
  t && t(d, o);
178
178
  },
179
- onFailure(c, r) {
180
- const a = c;
181
- a.msg = r.errormsg, a.errCode = r.errorcode, s && s(a);
179
+ onFailure(r, c) {
180
+ const a = r;
181
+ a.msg = c.errormsg, a.errCode = c.errorcode, s && s(a);
182
182
  }
183
183
  });
184
184
  }
185
185
  function he(e, t = void 0, s = void 0) {
186
186
  let n = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
187
187
  m(n, {
188
- onComplete(i, c, r) {
188
+ onComplete(i, r, c) {
189
189
  const a = JSON.parse(i);
190
190
  console.log("_AppMngt_get_users => ", a), t && t(a);
191
191
  },
192
- onFailure(i, c) {
193
- const r = i;
194
- r.msg = c.errormsg, r.errCode = c.errorcode, s && s(r);
192
+ onFailure(i, r) {
193
+ const c = i;
194
+ c.msg = r.errormsg, c.errCode = r.errorcode, s && s(c);
195
195
  }
196
196
  });
197
197
  }
198
198
  function Se(e, t, s = void 0, n = void 0) {
199
199
  let i = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${t}`;
200
200
  m(i, {
201
- onComplete(c, r, a) {
202
- const o = JSON.parse(c);
201
+ onComplete(r, c, a) {
202
+ const o = JSON.parse(r);
203
203
  s && s(o);
204
204
  },
205
- onFailure(c, r) {
206
- const a = c;
207
- a.msg = r.errormsg, a.errCode = r.errorcode, n && n(a);
205
+ onFailure(r, c) {
206
+ const a = r;
207
+ a.msg = c.errormsg, a.errCode = c.errorcode, n && n(a);
208
208
  }
209
209
  });
210
210
  }
211
- const F = {
211
+ const D = {
212
212
  "Content-Type": "application/json",
213
213
  Accept: "application/json,text/javascript,*/*"
214
214
  };
215
215
  function _e(e, t, s = void 0, n = void 0) {
216
- const { space: i, currentUser: c } = e, a = `${i}${{
216
+ const { space: i, currentUser: r } = e, a = `${i}${{
217
217
  URIUGr: "/3drdfpersist/resources/v1/usersgroup"
218
218
  }.URIUGr}`, o = {
219
219
  groups: [
220
220
  {
221
221
  title: t.title,
222
222
  description: t.description,
223
- members: t.members || [c.email, "samuel.mureau@beam3.fr"],
223
+ members: t.members || [r.email, "samuel.mureau@beam3.fr"],
224
224
  pending_members: [],
225
225
  sharing: t.sharing,
226
226
  visibility: t.visibility
@@ -229,7 +229,7 @@ function _e(e, t, s = void 0, n = void 0) {
229
229
  };
230
230
  m(a, {
231
231
  method: "POST",
232
- headers: F,
232
+ headers: D,
233
233
  data: JSON.stringify(o),
234
234
  onComplete(d) {
235
235
  s && s(JSON.parse(d));
@@ -242,7 +242,7 @@ function _e(e, t, s = void 0, n = void 0) {
242
242
  });
243
243
  }
244
244
  function ye(e, t, s = void 0, n = void 0) {
245
- const { space: i, tenant: c } = e, r = i, a = `/3drdfpersist/v1/resources/${t}`, o = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${c}`, d = `${r}${a}${o}`;
245
+ const { space: i, tenant: r } = e, c = i, a = `/3drdfpersist/v1/resources/${t}`, o = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${r}`, d = `${c}${a}${o}`;
246
246
  m(d, {
247
247
  opts: {
248
248
  method: "GET",
@@ -261,10 +261,10 @@ function ye(e, t, s = void 0, n = void 0) {
261
261
  });
262
262
  }
263
263
  function J(e, t = void 0, s = void 0) {
264
- const { space: n, tenant: i } = e, c = n, r = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${i}`, o = {
264
+ const { space: n, tenant: i } = e, r = n, c = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${i}`, o = {
265
265
  method: "GET",
266
266
  Accept: "application/json,*/*,test/javascript"
267
- }, d = `${c}${r}${a}`;
267
+ }, d = `${r}${c}${a}`;
268
268
  m(d, {
269
269
  OPTsH: o,
270
270
  onComplete(l) {
@@ -314,17 +314,17 @@ function Te(e, t) {
314
314
  });
315
315
  }
316
316
  function Ce(e, t, s, n = void 0, i = void 0) {
317
- const { space: c, tenant: r } = e, a = {
317
+ const { space: r, tenant: c } = e, a = {
318
318
  URITI: "/3drdfpersist/resources/v1/template-instances",
319
319
  URIUGr: "/3drdfpersist/resources/v1/usersgroup",
320
320
  nextURICh: "/characteristics",
321
321
  nextURIGr: "/group",
322
322
  nexURImem: "/members",
323
323
  OPTsTI: "?$mask=dsaccess:Mask.GroupUI.Properties",
324
- OPTsTenant: `tenant=dstenant:${r}`
325
- }, o = s, d = `${c}${a.URIUGr}/${t}`, l = JSON.stringify(o);
324
+ OPTsTenant: `tenant=dstenant:${c}`
325
+ }, o = s, d = `${r}${a.URIUGr}/${t}`, l = JSON.stringify(o);
326
326
  m(d, {
327
- headers: F,
327
+ headers: D,
328
328
  method: "PATCH",
329
329
  data: l,
330
330
  type: "json",
@@ -337,10 +337,10 @@ function Ce(e, t, s, n = void 0, i = void 0) {
337
337
  });
338
338
  }
339
339
  function Oe(e, t, s, n = void 0, i = void 0) {
340
- const { space: c } = e, a = `${c}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
340
+ const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
341
341
  m(a, {
342
342
  method: "PATCH",
343
- headers: F,
343
+ headers: D,
344
344
  data: JSON.stringify(s),
345
345
  type: "json",
346
346
  onComplete(d) {
@@ -352,8 +352,8 @@ function Oe(e, t, s, n = void 0, i = void 0) {
352
352
  });
353
353
  }
354
354
  function be(e, t, s = void 0, n = void 0) {
355
- const { space: i } = e, r = `${i}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
356
- m(r, {
355
+ const { space: i } = e, c = `${i}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
356
+ m(c, {
357
357
  opts: {
358
358
  method: "GET",
359
359
  headers: {
@@ -376,8 +376,8 @@ async function E(e, t, s) {
376
376
  onComplete(i) {
377
377
  i = JSON.parse(i), t && t(i.csrf);
378
378
  },
379
- onFailure(i, c, r) {
380
- s && s({ error: i, headers: c, xhr: r });
379
+ onFailure(i, r, c) {
380
+ s && s({ error: i, headers: r, xhr: c });
381
381
  }
382
382
  });
383
383
  }
@@ -388,14 +388,14 @@ async function G(e, t = void 0, s = void 0, n = void 0) {
388
388
  console.log("Le paramètre docid est obligatoire");
389
389
  return;
390
390
  }
391
- const c = i + `/resources/v1/modeler/documents/${t}`;
392
- m(c, {
393
- onComplete(r, a, o) {
394
- const d = JSON.parse(r);
391
+ const r = i + `/resources/v1/modeler/documents/${t}`;
392
+ m(r, {
393
+ onComplete(c, a, o) {
394
+ const d = JSON.parse(c);
395
395
  s && s(d);
396
396
  },
397
- onFailure(r) {
398
- n && n(r);
397
+ onFailure(c) {
398
+ n && n(c);
399
399
  }
400
400
  });
401
401
  }
@@ -403,7 +403,7 @@ function k(e, t = void 0, s = void 0) {
403
403
  if (e.objID && e.objID !== "") {
404
404
  let n = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
405
405
  m(n, {
406
- onComplete(i, c, r) {
406
+ onComplete(i, r, c) {
407
407
  const a = JSON.parse(i);
408
408
  e.token = a?.csrf?.value, e.datas = a?.data[0], t && t(e);
409
409
  },
@@ -426,22 +426,22 @@ function C(e, t = void 0, s = void 0) {
426
426
  if (e.space) {
427
427
  const n = e.space + "/resources/v1/application/CSRF";
428
428
  m(n, {
429
- onComplete(i, c, r) {
429
+ onComplete(i, r, c) {
430
430
  const a = JSON.parse(i);
431
431
  t && t(a.csrf.value);
432
432
  },
433
- onFailure(i, c, r) {
433
+ onFailure(i, r, c) {
434
434
  s && s({
435
435
  response: i,
436
- headers: c,
437
- xhr: r
436
+ headers: r,
437
+ xhr: c
438
438
  });
439
439
  }
440
440
  });
441
441
  } else
442
442
  s && s("ERROR : url du 3DSpace non défini.");
443
443
  }
444
- function U(e, t = void 0, s = void 0) {
444
+ function A(e, t = void 0, s = void 0) {
445
445
  let n = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
446
446
  k(
447
447
  e,
@@ -451,12 +451,12 @@ function U(e, t = void 0, s = void 0) {
451
451
  headers: {
452
452
  ENO_CSRF_TOKEN: e.token
453
453
  },
454
- onComplete(c) {
455
- const a = JSON.parse(c).data[0].dataelements.ticketURL;
454
+ onComplete(r) {
455
+ const a = JSON.parse(r).data[0].dataelements.ticketURL;
456
456
  t && t(a);
457
457
  },
458
- onFailure(c, r) {
459
- console.warn("☠️ error => ", c, r), s && s(c, r);
458
+ onFailure(r, c) {
459
+ console.warn("☠️ error => ", r, c), s && s(r, c);
460
460
  }
461
461
  });
462
462
  },
@@ -466,14 +466,14 @@ function U(e, t = void 0, s = void 0) {
466
466
  );
467
467
  }
468
468
  function Ne(e, t, s, n = void 0, i = void 0) {
469
- const c = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
470
- s || (s = e.token), m(c, {
469
+ const r = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
470
+ s || (s = e.token), m(r, {
471
471
  method: "PUT",
472
472
  headers: {
473
473
  ENO_CSRF_TOKEN: s
474
474
  },
475
- onComplete(r) {
476
- let a = JSON.parse(r);
475
+ onComplete(c) {
476
+ let a = JSON.parse(c);
477
477
  if (console.log("☠️ info => ", a), a.success === !0)
478
478
  try {
479
479
  const o = a.data[0].dataelements.ticketURL;
@@ -482,35 +482,35 @@ function Ne(e, t, s, n = void 0, i = void 0) {
482
482
  i && i(o);
483
483
  }
484
484
  },
485
- onFailure(r) {
486
- i && i(r);
485
+ onFailure(c) {
486
+ i && i(c);
487
487
  }
488
488
  });
489
489
  }
490
- function K(e, t, s, n, i, c = void 0, r = void 0) {
490
+ function K(e, t, s, n, i, r = void 0, c = void 0) {
491
491
  k(
492
492
  e,
493
493
  t,
494
494
  (a) => {
495
- W(
495
+ X(
496
496
  e,
497
497
  t,
498
498
  s,
499
499
  n,
500
500
  i,
501
501
  a.csrf.value,
502
- c,
503
- r
502
+ r,
503
+ c
504
504
  );
505
505
  }
506
506
  );
507
507
  }
508
- function W(e, t, s, n, i, c, r = void 0, a = void 0) {
508
+ function X(e, t, s, n, i, r, c = void 0, a = void 0) {
509
509
  const o = e.space + `/resources/v1/modeler/documents/${t}/files/CheckinTicket`;
510
510
  m(o, {
511
511
  method: "PUT",
512
512
  headers: {
513
- ENO_CSRF_TOKEN: c
513
+ ENO_CSRF_TOKEN: r
514
514
  },
515
515
  onComplete(d, l, p) {
516
516
  const u = JSON.parse(d).data[0].dataelements, f = new FormData();
@@ -520,7 +520,7 @@ function W(e, t, s, n, i, c, r = void 0, a = void 0) {
520
520
  let S = "temp_" + Date.now(), _ = {
521
521
  method: "PUT",
522
522
  headers: {
523
- ENO_CSRF_TOKEN: c
523
+ ENO_CSRF_TOKEN: r
524
524
  },
525
525
  data: JSON.stringify({
526
526
  data: [{
@@ -540,7 +540,7 @@ function W(e, t, s, n, i, c, r = void 0, a = void 0) {
540
540
  }),
541
541
  type: "json",
542
542
  onComplete(y) {
543
- r && r(y);
543
+ c && c(y);
544
544
  },
545
545
  onFailure(y) {
546
546
  a && a(y);
@@ -556,14 +556,14 @@ function W(e, t, s, n, i, c, r = void 0, a = void 0) {
556
556
  }
557
557
  });
558
558
  }
559
- async function ke(e, t, s, n, i = void 0, c = void 0) {
560
- const r = e.space, a = e.token, o = e.ctx, d = new FormData(), l = new Blob([JSON.stringify(t)], {
559
+ async function ke(e, t, s, n, i = void 0, r = void 0) {
560
+ const c = e.space, a = e.token, o = e.ctx, d = new FormData(), l = new Blob([JSON.stringify(t)], {
561
561
  type: "text/plain"
562
562
  }), p = {
563
- url_Ticket: `${r}/resources/v1/modeler/documents/files/CheckinTicket`,
564
- url_Post: `${r}/resources/v1/modeler/documents/?SecurityContext=ctx::${o}`
563
+ url_Ticket: `${c}/resources/v1/modeler/documents/files/CheckinTicket`,
564
+ url_Post: `${c}/resources/v1/modeler/documents/?SecurityContext=ctx::${o}`
565
565
  };
566
- if (!r && r !== "") {
566
+ if (!c && c !== "") {
567
567
  console.log("le store._3DSpace est vide");
568
568
  return;
569
569
  }
@@ -580,7 +580,7 @@ async function ke(e, t, s, n, i = void 0, c = void 0) {
580
580
  data: d,
581
581
  onComplete(T) {
582
582
  if (o !== "" && a !== "") {
583
- const D = {
583
+ const F = {
584
584
  method: "POST",
585
585
  headers: {
586
586
  ENO_CSRF_TOKEN: a,
@@ -603,7 +603,7 @@ async function ke(e, t, s, n, i = void 0, c = void 0) {
603
603
  }
604
604
  }]
605
605
  },
606
- tempId: I()
606
+ tempId: R()
607
607
  }]
608
608
  }),
609
609
  type: "json",
@@ -611,7 +611,7 @@ async function ke(e, t, s, n, i = void 0, c = void 0) {
611
611
  onComplete: _,
612
612
  onFailure: y
613
613
  };
614
- o !== "" && m(p.url_Post, D);
614
+ o !== "" && m(p.url_Post, F);
615
615
  } else
616
616
  console.warn("le store est vide");
617
617
  },
@@ -620,15 +620,15 @@ async function ke(e, t, s, n, i = void 0, c = void 0) {
620
620
  function _(T) {
621
621
  console.log("Success -- response ", T.data[0]), i && i(T);
622
622
  }
623
- function y(T, D) {
623
+ function y(T, F) {
624
624
  console.log("Erreur -- response ", T, `
625
- headers `, D), c && c(T);
625
+ headers `, F), r && r(T);
626
626
  }
627
627
  m(h.ticketURL, S);
628
628
  }
629
629
  });
630
630
  }
631
- function b(e, t = void 0, s = void 0, n = void 0, i = void 0, c = void 0, r = !1) {
631
+ function N(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, c = !1) {
632
632
  const a = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
633
633
  m(a, {
634
634
  method: "GET",
@@ -652,7 +652,7 @@ function b(e, t = void 0, s = void 0, n = void 0, i = void 0, c = void 0, r = !1
652
652
  let y = h.filter(
653
653
  (T) => T.role.name === S
654
654
  );
655
- y.length === 1 ? (f = y[0].role.name, u = y[0].organization.title) : c(y);
655
+ y.length === 1 ? (f = y[0].role.name, u = y[0].organization.title) : r(y);
656
656
  }
657
657
  });
658
658
  }) : h.forEach((S) => {
@@ -662,12 +662,12 @@ function b(e, t = void 0, s = void 0, n = void 0, i = void 0, c = void 0, r = !1
662
662
  let _ = h.filter(
663
663
  (y) => y.role.name === s
664
664
  );
665
- _.length === 1 ? (f = _[0].role.name, u = _[0].organization.title) : c(_);
665
+ _.length === 1 ? (f = _[0].role.name, u = _[0].organization.title) : r(_);
666
666
  }
667
667
  }));
668
668
  }
669
669
  }
670
- p && u && f ? (l = f + "." + u + "." + p, i(l)) : d.preferredcredentials && r ? (l = d.preferredcredentials.role.name + "." + d.preferredcredentials.organization.title + "." + d.preferredcredentials.collabspace.title, i(l)) : c && (l = f + "." + u + "." + p, c(l));
670
+ p && u && f ? (l = f + "." + u + "." + p, i(l)) : d.preferredcredentials && c ? (l = d.preferredcredentials.role.name + "." + d.preferredcredentials.organization.title + "." + d.preferredcredentials.collabspace.title, i(l)) : r && (l = f + "." + u + "." + p, r(l));
671
671
  },
672
672
  onFailure(o, d) {
673
673
  console.log("Erreur de récupération du contexte de sécurité. => ", {
@@ -677,7 +677,7 @@ function b(e, t = void 0, s = void 0, n = void 0, i = void 0, c = void 0, r = !1
677
677
  }
678
678
  });
679
679
  }
680
- async function R(e, t = void 0, s = void 0) {
680
+ async function I(e, t = void 0, s = void 0) {
681
681
  return (!e.objID || e.objID === "") && console.warn(
682
682
  "_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
683
683
  ), (e.space === "" || !e.space) && console.warn(
@@ -693,10 +693,10 @@ async function R(e, t = void 0, s = void 0) {
693
693
  ), console.warn(
694
694
  "_3DSpace_download_doc() / Le paramètre token est obligatoire"
695
695
  )), new Promise((n, i) => {
696
- U(
696
+ A(
697
697
  e,
698
- (c) => {
699
- m(c, {
698
+ (r) => {
699
+ m(r, {
700
700
  headers: {
701
701
  "Content-Type": "application/json",
702
702
  Accept: "application/json"
@@ -723,53 +723,53 @@ async function R(e, t = void 0, s = void 0) {
723
723
  }
724
724
  });
725
725
  },
726
- (c) => {
727
- s && s(c), console.log("*_3dspace_download_doc / error file URL *", c), i(c);
726
+ (r) => {
727
+ s && s(r), console.log("*_3dspace_download_doc / error file URL *", r), i(r);
728
728
  }
729
729
  );
730
730
  });
731
731
  }
732
- async function X(e, t, s = void 0, n = void 0) {
732
+ async function W(e, t, s = void 0, n = void 0) {
733
733
  let i = [];
734
734
  if (typeof t < "u" && Array.isArray(t) && t?.length > 0) {
735
735
  for (let a = 0; a < t.length; a += 80) {
736
736
  const o = t.slice(a, a + 80);
737
737
  i.push(o);
738
738
  }
739
- const r = (a) => {
739
+ const c = (a) => {
740
740
  V(
741
741
  e,
742
742
  i[a],
743
743
  () => {
744
- a++, a < i.length && r(a);
744
+ a++, a < i.length && c(a);
745
745
  },
746
746
  (o) => {
747
747
  s && s(o);
748
748
  }
749
749
  );
750
750
  };
751
- r(0);
751
+ c(0);
752
752
  } else
753
753
  console.warn("La liste d'objects dans la fonction _3DSpace_download_multidoc est vide ou non défini."), n && n("La liste d'objects dans la fonction _3DSpace_download_multidoc est vide ou non défini.");
754
754
  }
755
755
  function V(e, t, s = void 0, n = void 0, i = void 0) {
756
- const c = [];
756
+ const r = [];
757
757
  t.forEach((o) => {
758
- c.push({
758
+ r.push({
759
759
  id: o
760
760
  });
761
761
  });
762
- let r = JSON.stringify({
762
+ let c = JSON.stringify({
763
763
  csrf: {
764
764
  name: "ENO_CSRF_TOKEN",
765
765
  value: e.token
766
766
  },
767
- data: c
767
+ data: r
768
768
  });
769
769
  const a = `${e.space}/resources/v1/modeler/documents/DownloadTicket?tenant=${e.tenant}&e6w-lang=fr&e6w-timezone=-120`;
770
770
  m(a, {
771
771
  method: "PUT",
772
- data: r,
772
+ data: c,
773
773
  type: "json",
774
774
  onComplete(o) {
775
775
  const d = o.data;
@@ -798,11 +798,11 @@ function V(e, t, s = void 0, n = void 0, i = void 0) {
798
798
  }
799
799
  });
800
800
  }
801
- function De(e, t, s = void 0, n = void 0) {
801
+ function Fe(e, t, s = void 0, n = void 0) {
802
802
  return new Promise((i) => {
803
803
  if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
804
- const c = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
805
- b(
804
+ const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
805
+ N(
806
806
  e.space,
807
807
  "ESPACE COMMUN",
808
808
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -812,7 +812,7 @@ function De(e, t, s = void 0, n = void 0) {
812
812
  console.log("onError =>", a);
813
813
  }
814
814
  );
815
- let r = {
815
+ let c = {
816
816
  method: "POST",
817
817
  headers: {
818
818
  SecurityContext: "ctx::" + e.ctx,
@@ -833,15 +833,15 @@ function De(e, t, s = void 0, n = void 0) {
833
833
  n && n(a);
834
834
  }
835
835
  };
836
- m(c, r);
836
+ m(r, c);
837
837
  }
838
838
  });
839
839
  }
840
- function Fe(e, t, s, n = void 0, i = void 0) {
841
- return new Promise((c) => {
840
+ function De(e, t, s, n = void 0, i = void 0) {
841
+ return new Promise((r) => {
842
842
  if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
843
- const r = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
844
- b(
843
+ const c = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
844
+ N(
845
845
  e.space,
846
846
  "ESPACE COMMUN",
847
847
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -873,15 +873,15 @@ function Fe(e, t, s, n = void 0, i = void 0) {
873
873
  i && i(o);
874
874
  }
875
875
  };
876
- m(r, a);
876
+ m(c, a);
877
877
  }
878
878
  });
879
879
  }
880
- function Ue(e, t, s = void 0, n = void 0) {
880
+ function Ae(e, t, s = void 0, n = void 0) {
881
881
  return new Promise((i) => {
882
882
  if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
883
- const c = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
884
- b(
883
+ const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
884
+ N(
885
885
  e.space,
886
886
  "ESPACE COMMUN",
887
887
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -891,7 +891,7 @@ function Ue(e, t, s = void 0, n = void 0) {
891
891
  console.log("onError =>", a);
892
892
  }
893
893
  );
894
- let r = {
894
+ let c = {
895
895
  method: "POST",
896
896
  headers: {
897
897
  securitycontext: "ctx::" + e.ctx,
@@ -912,15 +912,15 @@ function Ue(e, t, s = void 0, n = void 0) {
912
912
  n && n(a);
913
913
  }
914
914
  };
915
- m(c, r);
915
+ m(r, c);
916
916
  }
917
917
  });
918
918
  }
919
- function je(e, t, s = void 0, n = void 0) {
919
+ function $e(e, t, s = void 0, n = void 0) {
920
920
  return new Promise((i) => {
921
921
  if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
922
- const c = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
923
- b(
922
+ const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
923
+ N(
924
924
  e.space,
925
925
  "ESPACE COMMUN",
926
926
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -930,7 +930,7 @@ function je(e, t, s = void 0, n = void 0) {
930
930
  console.log("onError =>", a);
931
931
  }
932
932
  );
933
- let r = {
933
+ let c = {
934
934
  method: "POST",
935
935
  headers: {
936
936
  SecurityContext: "ctx::" + e.ctx,
@@ -957,15 +957,15 @@ function je(e, t, s = void 0, n = void 0) {
957
957
  n && n(a);
958
958
  }
959
959
  };
960
- m(c, r);
960
+ m(r, c);
961
961
  }
962
962
  });
963
963
  }
964
- function Ae(e, t, s, n = void 0, i = void 0) {
965
- return new Promise((c) => {
964
+ function Ue(e, t, s, n = void 0, i = void 0) {
965
+ return new Promise((r) => {
966
966
  if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
967
- const r = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
968
- b(
967
+ const c = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
968
+ N(
969
969
  e.space,
970
970
  "ESPACE COMMUN",
971
971
  ["VPLMProjectLeader", "VPLMCreator"],
@@ -1002,12 +1002,80 @@ function Ae(e, t, s, n = void 0, i = void 0) {
1002
1002
  i && i(o);
1003
1003
  }
1004
1004
  };
1005
- m(r, a);
1005
+ m(c, a);
1006
+ }
1007
+ });
1008
+ }
1009
+ function je(e, t, s = void 0, n = void 0) {
1010
+ return new Promise((i) => {
1011
+ if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
1012
+ const r = b.now().ts;
1013
+ `${e.space}`;
1014
+ const c = `${e._3DSearch}/federated/search?xrequestedwith=xmlhttprequest&tenant=${e._platformId}&timestamp=${r}`;
1015
+ let a = {
1016
+ method: "POST",
1017
+ headers: {
1018
+ Accept: "application/json",
1019
+ "Content-Type": "application/json"
1020
+ },
1021
+ data: JSON.stringify({
1022
+ with_indexing_date: !0,
1023
+ with_nls: !1,
1024
+ label: `yus-${r}`,
1025
+ locale: "en",
1026
+ select_predicate: [
1027
+ "ds6w:label",
1028
+ "ds6w:type",
1029
+ "ds6w:description",
1030
+ "ds6w:identifier",
1031
+ "ds6w:responsible",
1032
+ "ds6wg:fullname"
1033
+ ],
1034
+ select_file: [
1035
+ icon,
1036
+ thumbnail_2d
1037
+ ],
1038
+ query: '([ds6w:type]:(Group) AND [ds6w:status]:(Public)) OR (flattenedtaxonomies:"types/Person" AND current:"active")',
1039
+ order_by: "desc",
1040
+ order_field: "relevance",
1041
+ nresults: 1e3,
1042
+ start: "0",
1043
+ source: [
1044
+ "3dspace",
1045
+ "usersgroup"
1046
+ ],
1047
+ tenant: e._platformId
1048
+ }),
1049
+ type: "json",
1050
+ onComplete(o) {
1051
+ s && s(o);
1052
+ },
1053
+ onFailure(o) {
1054
+ n && n(o);
1055
+ }
1056
+ };
1057
+ JSON.stringify({
1058
+ csrf: {
1059
+ name: "ENO_CSRF_TOKEN",
1060
+ value: e.token
1061
+ },
1062
+ data: [{
1063
+ type: "Workspace",
1064
+ cestamp: "businessobject",
1065
+ relId: t,
1066
+ id: t,
1067
+ dataelements: {
1068
+ personList: "<uuid:5ca25b8e-98d0-46c3-ac43-3faa83c4295a>",
1069
+ eventsList: "NXFolderCreated,NXFolderDeleted,NXContentAdded,NXContentRemoved"
1070
+ },
1071
+ tenant: e.tenant
1072
+ }]
1073
+ }), m(c, a);
1006
1074
  }
1007
1075
  });
1008
1076
  }
1009
1077
  //!SECTION
1010
- function $e(e, t = void 0, s = void 0) {
1078
+ function Re(e, t = void 0, s = void 0) {
1011
1079
  const n = {
1012
1080
  base: `${e.space}`,
1013
1081
  uri: "/resources/bps/cspaces",
@@ -1019,56 +1087,56 @@ function $e(e, t = void 0, s = void 0) {
1019
1087
  Accept: "application/json,text/javascript,*/*",
1020
1088
  "Content-Type": "application/ds-json"
1021
1089
  },
1022
- onComplete(c, r) {
1023
- const a = JSON.parse(c);
1024
- t && t(a, r);
1090
+ onComplete(r, c) {
1091
+ const a = JSON.parse(r);
1092
+ t && t(a, c);
1025
1093
  },
1026
- onFailure(c, r, a) {
1027
- s && s({ response: c, headers: r, xhr: a });
1094
+ onFailure(r, c, a) {
1095
+ s && s({ response: r, headers: c, xhr: a });
1028
1096
  }
1029
1097
  });
1030
1098
  }
1031
1099
  function Ie(e, t, s, n) {
1032
- U(
1100
+ A(
1033
1101
  e.space,
1034
1102
  t,
1035
1103
  (i) => {
1036
1104
  m(i, {
1037
1105
  header: { ENO_CSRF_TOKEN: e.token },
1038
- onComplete: (c) => {
1039
- s && s(c);
1106
+ onComplete: (r) => {
1107
+ s && s(r);
1040
1108
  },
1041
- onFailure: (c) => {
1042
- console.log("error http", c), n && n(c);
1109
+ onFailure: (r) => {
1110
+ console.log("error http", r), n && n(r);
1043
1111
  }
1044
1112
  });
1045
1113
  }
1046
1114
  );
1047
1115
  }
1048
- async function Re(e, t, s = void 0, n = void 0) {
1116
+ async function ve(e, t, s = void 0, n = void 0) {
1049
1117
  return new Promise((i) => {
1050
- U(e, t, (c) => {
1051
- m(c, {
1052
- onComplete: (r, a, o) => (i(JSON.parse(r)), s && s(JSON.parse(r), a, o), i),
1053
- onFailure: (r, a, o) => {
1054
- n && n(r, a, o), console.log(r, a?.errormsg);
1118
+ A(e, t, (r) => {
1119
+ m(r, {
1120
+ onComplete: (c, a, o) => (i(JSON.parse(c)), s && s(JSON.parse(c), a, o), i),
1121
+ onFailure: (c, a, o) => {
1122
+ n && n(c, a, o), console.log(c, a?.errormsg);
1055
1123
  }
1056
1124
  });
1057
1125
  });
1058
1126
  });
1059
1127
  }
1060
- function ve(e, t, s, n = void 0, i = void 0) {
1061
- const c = new Blob([JSON.stringify(t)], { type: "text/plain" });
1128
+ function Pe(e, t, s, n = void 0, i = void 0) {
1129
+ const r = new Blob([JSON.stringify(t)], { type: "text/plain" });
1062
1130
  k(
1063
1131
  e,
1064
1132
  s,
1065
- (r) => {
1066
- const a = r.data[0].relateddata.files[0].id, o = r.data[0].dataelements.secondaryTitle !== "" ? r.data[0].dataelements.secondaryTitle : r.data[0].dataelements.title;
1133
+ (c) => {
1134
+ const a = c.data[0].relateddata.files[0].id, o = c.data[0].dataelements.secondaryTitle !== "" ? c.data[0].dataelements.secondaryTitle : c.data[0].dataelements.title;
1067
1135
  K(
1068
1136
  e,
1069
1137
  s,
1070
1138
  a,
1071
- c,
1139
+ r,
1072
1140
  o,
1073
1141
  (d) => {
1074
1142
  n && n(d);
@@ -1081,8 +1149,8 @@ function ve(e, t, s, n = void 0, i = void 0) {
1081
1149
  );
1082
1150
  }
1083
1151
  let v, P;
1084
- const j = [];
1085
- async function Pe(e, t = void 0, s = void 0) {
1152
+ const $ = [];
1153
+ async function xe(e, t = void 0, s = void 0) {
1086
1154
  e.objID && e.objID !== "" ? k(
1087
1155
  e,
1088
1156
  (n) => {
@@ -1101,8 +1169,8 @@ async function Pe(e, t = void 0, s = void 0) {
1101
1169
  }
1102
1170
  );
1103
1171
  }
1104
- async function xe(e, t = void 0, s = void 0) {
1105
- console.log("getDatasByTenant (getDocuments)", e), await R(
1172
+ async function Me(e, t = void 0, s = void 0) {
1173
+ console.log("getDatasByTenant (getDocuments)", e), await I(
1106
1174
  e,
1107
1175
  (n) => {
1108
1176
  const i = {};
@@ -1113,36 +1181,36 @@ async function xe(e, t = void 0, s = void 0) {
1113
1181
  }
1114
1182
  );
1115
1183
  }
1116
- function Me(e, t = void 0, s = void 0) {
1184
+ function Le(e, t = void 0, s = void 0) {
1117
1185
  const n = [];
1118
1186
  if (!e.objIds && !Array.isArray(e.objIds) && e.objIds.length === 0) {
1119
1187
  console.warn("la liste est vide ou n'est pas un tableau");
1120
1188
  return;
1121
1189
  }
1122
- e.objIds.forEach((i, c) => {
1123
- R(
1190
+ e.objIds.forEach((i, r) => {
1191
+ I(
1124
1192
  e,
1125
1193
  i.objID,
1126
- (r) => {
1127
- n.push({ [i.name]: r }), i.name === "dbProjets" && (v = r.affaires.map((a) => a.objectID), B(e, P)), c === e.objIds.length - 1 && (t && t(n), delete e.objIds, delete e.datas);
1194
+ (c) => {
1195
+ n.push({ [i.name]: c }), i.name === "dbProjets" && (v = c.affaires.map((a) => a.objectID), B(e, P)), r === e.objIds.length - 1 && (t && t(n), delete e.objIds, delete e.datas);
1128
1196
  }
1129
1197
  );
1130
1198
  });
1131
1199
  }
1132
1200
  function B(e, t, s = void 0, n = void 0) {
1133
- X(
1201
+ W(
1134
1202
  e,
1135
1203
  v,
1136
1204
  (i) => {
1137
- const c = [...t];
1138
- c.find((r) => r.objectID === i.objectId).data = i.data, P = c, j.push(i.data), s && s(j);
1205
+ const r = [...t];
1206
+ r.find((c) => c.objectID === i.objectId).data = i.data, P = r, $.push(i.data), s && s($);
1139
1207
  },
1140
1208
  (i) => {
1141
1209
  n && (n(i), console.log(i));
1142
1210
  }
1143
1211
  );
1144
1212
  }
1145
- const Y = "FA35FB9B177A280065800EA0000F599C", H = [
1213
+ const Y = "FA35FB9B177A280065800EA0000F599C", q = [
1146
1214
  "swym",
1147
1215
  "3dspace",
1148
1216
  "drive",
@@ -1156,23 +1224,23 @@ const Y = "FA35FB9B177A280065800EA0000F599C", H = [
1156
1224
  where: "ds6w:where",
1157
1225
  who: "ds6w:who",
1158
1226
  why: "ds6w:why"
1159
- }, z = {
1227
+ }, H = {
1160
1228
  objId: Y,
1161
1229
  pred: "who",
1162
1230
  order_by: "desc",
1163
1231
  tag: "testTag"
1164
1232
  };
1165
- function Le(e, t, s = void 0, n = void 0) {
1166
- const { space: i, tenant: c } = e, { objId: r, pred: a, tag: o } = t, d = {
1233
+ function Je(e, t, s = void 0, n = void 0) {
1234
+ const { space: i, tenant: r } = e, { objId: c, pred: a, tag: o } = t, d = {
1167
1235
  uri: "/resources/6w/tags",
1168
1236
  otpCTX: "SecurityContext=preferred",
1169
- optTenant: `tenant=${c}`
1237
+ optTenant: `tenant=${r}`
1170
1238
  }, l = `${i}${d.uri}?${d.otpCTX}&${d.optTenant}`, p = {
1171
1239
  tag: [
1172
1240
  {
1173
1241
  subject: [
1174
1242
  {
1175
- uri: `pid://${r}`
1243
+ uri: `pid://${c}`
1176
1244
  }
1177
1245
  ],
1178
1246
  predicate: x[a],
@@ -1195,10 +1263,10 @@ function Le(e, t, s = void 0, n = void 0) {
1195
1263
  setTimeout(() => {
1196
1264
  G(
1197
1265
  e,
1198
- r,
1266
+ c,
1199
1267
  (g) => {
1200
1268
  const h = g.data[0].dataelements.title, S = g.data[0].dataelements.fileExtension !== void 0 ? g.data[0].dataelements.fileExtension : "", _ = g.data[0].relateddata.ownerInfo[0].dataelements.name;
1201
- f.name = h, f.ext = S, f.createBy = _, t.info = { ...f }, q(
1269
+ f.name = h, f.ext = S, f.createBy = _, t.info = { ...f }, z(
1202
1270
  e,
1203
1271
  t,
1204
1272
  (y) => {
@@ -1222,15 +1290,15 @@ function Le(e, t, s = void 0, n = void 0) {
1222
1290
  }
1223
1291
  });
1224
1292
  }
1225
- function q(e, t, s = void 0, n = void 0) {
1293
+ function z(e, t, s = void 0, n = void 0) {
1226
1294
  console.log("obj ", t);
1227
- const i = t.info.name, c = {
1295
+ const i = t.info.name, r = {
1228
1296
  baseUrl: `https://${e.tenant.toLowerCase()}-eu1-fedsearch.3dexperience.3ds.com`,
1229
1297
  uri: "/federated/search"
1230
- }, r = `${c.baseUrl}${c.uri}`, a = {
1298
+ }, c = `${r.baseUrl}${r.uri}`, a = {
1231
1299
  "Content-Type": "application/json",
1232
1300
  Accept: "application/json,text/javascript,*/*"
1233
- }, o = I(), d = {
1301
+ }, o = R(), d = {
1234
1302
  with_indexing_date: !0,
1235
1303
  with_synthesis: !0,
1236
1304
  with_nls: !1,
@@ -1272,7 +1340,7 @@ function q(e, t, s = void 0, n = void 0) {
1272
1340
  }
1273
1341
  },
1274
1342
  select_exclude_synthesis: ["ds6w:what/ds6w:topic"],
1275
- order_by: z.order_by,
1343
+ order_by: H.order_by,
1276
1344
  order_field: "relevance",
1277
1345
  select_snippets: [
1278
1346
  "ds6w:snippet",
@@ -1283,7 +1351,7 @@ function q(e, t, s = void 0, n = void 0) {
1283
1351
  ],
1284
1352
  nresults: 40,
1285
1353
  start: "0",
1286
- source: H,
1354
+ source: q,
1287
1355
  tenant: e.tenant,
1288
1356
  login: {
1289
1357
  "3dspace": {
@@ -1291,7 +1359,7 @@ function q(e, t, s = void 0, n = void 0) {
1291
1359
  }
1292
1360
  }
1293
1361
  };
1294
- console.log("dataPattern => ", d), m(r, {
1362
+ console.log("dataPattern => ", d), m(c, {
1295
1363
  method: "POST",
1296
1364
  headers: a,
1297
1365
  data: JSON.stringify(d),
@@ -1305,8 +1373,8 @@ function q(e, t, s = void 0, n = void 0) {
1305
1373
  }
1306
1374
  });
1307
1375
  }
1308
- function Je(e, t, s = void 0, n = void 0) {
1309
- const { objId: i, pred: c, tag: r } = t, a = {
1376
+ function Ee(e, t, s = void 0, n = void 0) {
1377
+ const { objId: i, pred: r, tag: c } = t, a = {
1310
1378
  uri: "/resources/6w/tags",
1311
1379
  otpCTX: "SecurityContext=preferred",
1312
1380
  optTenant: `tenant=${e.tenant}`
@@ -1318,9 +1386,9 @@ function Je(e, t, s = void 0, n = void 0) {
1318
1386
  uri: `pid://${i}`
1319
1387
  }
1320
1388
  ],
1321
- predicate: x[c],
1389
+ predicate: x[r],
1322
1390
  object: {
1323
- literal: r
1391
+ literal: c
1324
1392
  }
1325
1393
  }
1326
1394
  ]
@@ -1341,19 +1409,19 @@ function Je(e, t, s = void 0, n = void 0) {
1341
1409
  }
1342
1410
  });
1343
1411
  }
1344
- function Ee(e, t = "", s = void 0, n = void 0) {
1412
+ function Ge(e, t = "", s = void 0, n = void 0) {
1345
1413
  const { space: i } = e;
1346
1414
  if (t === "")
1347
1415
  return;
1348
- const c = {
1416
+ const r = {
1349
1417
  uri: "/resources/v1/modeler/documents"
1350
- }, r = {
1418
+ }, c = {
1351
1419
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
1352
1420
  Accept: "application/json,text/javascript,*/*"
1353
- }, a = `${i}${c.uri}`, o = `$include=none,lockerInfo,ownerInfo,originatorInfo,files,ownerInfo,originatorInfo&$fields=none,title,name,typeNLS,collabSpaceTitle,revision,isLatestRevision,files,lockStatus,lockerInfo.name,lockerInfo.firstname,lockerInfo.lastname,owner,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,stateNLS,modified,policy,state,organizationTitle,originator,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname,hasModifyAccess,fileExtension,files.name,files.title,files.revision,files.locker,ownerInfo,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,originatorInfo,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname&$ids=${t}`;
1421
+ }, a = `${i}${r.uri}`, o = `$include=none,lockerInfo,ownerInfo,originatorInfo,files,ownerInfo,originatorInfo&$fields=none,title,name,typeNLS,collabSpaceTitle,revision,isLatestRevision,files,lockStatus,lockerInfo.name,lockerInfo.firstname,lockerInfo.lastname,owner,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,stateNLS,modified,policy,state,organizationTitle,originator,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname,hasModifyAccess,fileExtension,files.name,files.title,files.revision,files.locker,ownerInfo,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,originatorInfo,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname&$ids=${t}`;
1354
1422
  m(a, {
1355
1423
  method: "POST",
1356
- headers: r,
1424
+ headers: c,
1357
1425
  data: o,
1358
1426
  onComplete(d) {
1359
1427
  s && s(JSON.parse(d));
@@ -1367,7 +1435,7 @@ function Ee(e, t = "", s = void 0, n = void 0) {
1367
1435
  async function w(e, t = void 0, s = void 0) {
1368
1436
  const n = e.space + "/api/index/tk";
1369
1437
  return m(n, {
1370
- onComplete(i, c, r) {
1438
+ onComplete(i, r, c) {
1371
1439
  const a = JSON.parse(i);
1372
1440
  if (t)
1373
1441
  return t(a), e.token = a?.result?.ServerToken;
@@ -1377,7 +1445,7 @@ async function w(e, t = void 0, s = void 0) {
1377
1445
  }
1378
1446
  });
1379
1447
  }
1380
- function Ge(e, t = void 0, s = void 0) {
1448
+ function Ke(e, t = void 0, s = void 0) {
1381
1449
  const n = `${e.space}/api/exalead/whatsnew`, i = {
1382
1450
  params: {
1383
1451
  community_id: null,
@@ -1388,26 +1456,26 @@ function Ge(e, t = void 0, s = void 0) {
1388
1456
  start: 0
1389
1457
  }
1390
1458
  };
1391
- w(e, (c) => {
1459
+ w(e, (r) => {
1392
1460
  m(n, {
1393
1461
  method: "POST",
1394
1462
  headers: {
1395
- "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken,
1463
+ "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken,
1396
1464
  "Content-type": "application/json;charset=UTF-8",
1397
1465
  Accept: "application/json"
1398
1466
  },
1399
1467
  data: JSON.stringify(i),
1400
1468
  type: "json",
1401
- onComplete(r, a) {
1402
- t && t(r, a);
1469
+ onComplete(c, a) {
1470
+ t && t(c, a);
1403
1471
  },
1404
- onFailure(r, a) {
1405
- s && s(r, a);
1472
+ onFailure(c, a) {
1473
+ s && s(c, a);
1406
1474
  }
1407
1475
  });
1408
1476
  });
1409
1477
  }
1410
- function Ke(e, t = void 0, s = void 0) {
1478
+ function Xe(e, t = void 0, s = void 0) {
1411
1479
  const n = `${e.space}/api/Recommendation/getpeoplefamiliartocurrentuser`, i = {
1412
1480
  params: {
1413
1481
  idsToFilterArr: [],
@@ -1417,22 +1485,22 @@ function Ke(e, t = void 0, s = void 0) {
1417
1485
  maxNbOfCommonElements: "5"
1418
1486
  }
1419
1487
  };
1420
- w(e, (c) => {
1488
+ w(e, (r) => {
1421
1489
  m(n, {
1422
1490
  method: "POST",
1423
1491
  headers: {
1424
- "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken,
1492
+ "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken,
1425
1493
  "Content-type": "application/json;charset=UTF-8",
1426
1494
  Accept: "application/json"
1427
1495
  },
1428
1496
  data: JSON.stringify(i),
1429
1497
  type: "json",
1430
- onComplete(r, a) {
1431
- const o = r.result.hits.map((d) => ({ login: d.login, fullName: d.name }));
1432
- t && t(o, r);
1498
+ onComplete(c, a) {
1499
+ const o = c.result.hits.map((d) => ({ login: d.login, fullName: d.name }));
1500
+ t && t(o, c);
1433
1501
  },
1434
- onFailure(r, a) {
1435
- s && s(r, a);
1502
+ onFailure(c, a) {
1503
+ s && s(c, a);
1436
1504
  }
1437
1505
  });
1438
1506
  });
@@ -1443,12 +1511,12 @@ function We(e, t = void 0, s = void 0) {
1443
1511
  uri: "/api/community/listmycommunities",
1444
1512
  limit: `/limit/${e.limit ? e.limit : 128}`,
1445
1513
  page: `/page/${e.page ? e.page : "1"}`
1446
- }, i = `${n.base}${n.uri}${n.limit}${n.page}`, c = [];
1447
- w(e, (r) => {
1514
+ }, i = `${n.base}${n.uri}${n.limit}${n.page}`, r = [];
1515
+ w(e, (c) => {
1448
1516
  m(i, {
1449
1517
  method: "GET",
1450
1518
  headers: {
1451
- "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1519
+ "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
1452
1520
  },
1453
1521
  onComplete(a, o, d) {
1454
1522
  const p = JSON.parse(a).result;
@@ -1466,7 +1534,7 @@ function We(e, t = void 0, s = void 0) {
1466
1534
  e,
1467
1535
  f.id,
1468
1536
  (h) => {
1469
- u++, g.members = h, c.push(g), u === p.length && t && t(c);
1537
+ u++, g.members = h, r.push(g), u === p.length && t && t(r);
1470
1538
  },
1471
1539
  (h) => s(h)
1472
1540
  );
@@ -1480,22 +1548,22 @@ function We(e, t = void 0, s = void 0) {
1480
1548
  });
1481
1549
  }
1482
1550
  function Q(e, t, s, n) {
1483
- const i = `${e.space}/api/community/listmembers`, c = {
1551
+ const i = `${e.space}/api/community/listmembers`, r = {
1484
1552
  params: {
1485
1553
  page: e.page ? e.page : 1,
1486
1554
  limit: e.limit ? e.limit : 50,
1487
1555
  community_id: t
1488
1556
  }
1489
1557
  };
1490
- w(e, (r) => {
1558
+ w(e, (c) => {
1491
1559
  m(i, {
1492
1560
  method: "POST",
1493
1561
  headers: {
1494
1562
  "Content-type": "application/json;charset=UTF-8",
1495
1563
  Accept: "application/json",
1496
- "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1564
+ "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
1497
1565
  },
1498
- data: JSON.stringify(c),
1566
+ data: JSON.stringify(r),
1499
1567
  type: "json",
1500
1568
  onComplete(a, o, d) {
1501
1569
  s && s(a);
@@ -1507,34 +1575,34 @@ function Q(e, t, s, n) {
1507
1575
  });
1508
1576
  });
1509
1577
  }
1510
- function Xe(e, t = void 0, s = void 0) {
1578
+ function Ve(e, t = void 0, s = void 0) {
1511
1579
  const n = "YXdA5x4DSUKtlAi2wmnyTA";
1512
1580
  e.commu_id || (e.commu_id = n);
1513
1581
  const i = `${e.space}/api/v2/communities/${e.commu_id}/ideas/statuses`;
1514
- w(e, (c) => {
1582
+ w(e, (r) => {
1515
1583
  m(i, {
1516
1584
  method: "GET",
1517
1585
  headers: {
1518
1586
  "Content-type": "application/json;charset=UTF-8",
1519
1587
  Accept: "application/json",
1520
- "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
1588
+ "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1521
1589
  },
1522
- onComplete(r) {
1523
- const a = JSON.parse(r);
1590
+ onComplete(c) {
1591
+ const a = JSON.parse(c);
1524
1592
  t && t(a);
1525
1593
  },
1526
- onFailure(r, a) {
1527
- const o = r;
1594
+ onFailure(c, a) {
1595
+ const o = c;
1528
1596
  o.status = a.status, o.response = a.errormsg, s && s(o);
1529
1597
  }
1530
1598
  });
1531
1599
  });
1532
1600
  }
1533
- function Ve(e, t, s = void 0, n = void 0) {
1534
- const { listAllContacts: i, currentUser: c } = e;
1601
+ function Be(e, t, s = void 0, n = void 0) {
1602
+ const { listAllContacts: i, currentUser: r } = e;
1535
1603
  console.log("__listAllContacts", i.hits);
1536
- const r = `${e.space}/api/directmessages`, a = {
1537
- users: [c.login].concat(t.receipt)
1604
+ const c = `${e.space}/api/directmessages`, a = {
1605
+ users: [r.login].concat(t.receipt)
1538
1606
  }, o = {
1539
1607
  id_msg: "",
1540
1608
  senderId: e.currentUser.login,
@@ -1545,14 +1613,14 @@ function Ve(e, t, s = void 0, n = void 0) {
1545
1613
  Z(
1546
1614
  a.users,
1547
1615
  (l) => {
1548
- l !== void 0 && (o.id_msg = l.id, d = !0, A(e, o));
1616
+ l !== void 0 && (o.id_msg = l.id, d = !0, U(e, o));
1549
1617
  },
1550
1618
  (l) => {
1551
1619
  d = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", l), n && n(l), o.id_msg = "";
1552
1620
  }
1553
1621
  ), d === !1 && setTimeout(() => {
1554
1622
  d === !1 && w(e, (l) => {
1555
- m(r, {
1623
+ m(c, {
1556
1624
  method: "POST",
1557
1625
  headers: {
1558
1626
  "Content-Type": "application/json",
@@ -1563,7 +1631,7 @@ function Ve(e, t, s = void 0, n = void 0) {
1563
1631
  type: "json",
1564
1632
  onComplete(p, u, f) {
1565
1633
  const g = p;
1566
- g.reponse = JSON.parse(f.response), g.status = f.status, s && s(g), o.id_msg = g.result.id, A(e, o);
1634
+ g.reponse = JSON.parse(f.response), g.status = f.status, s && s(g), o.id_msg = g.result.id, U(e, o);
1567
1635
  },
1568
1636
  onFailure(p, u, f) {
1569
1637
  const g = p;
@@ -1575,15 +1643,15 @@ function Ve(e, t, s = void 0, n = void 0) {
1575
1643
  }
1576
1644
  function Z(e, t, s, n) {
1577
1645
  const i = `${e.space}/api/directmessages/lite?with_favorites=false`;
1578
- w(e, (c) => {
1646
+ w(e, (r) => {
1579
1647
  m(i, {
1580
1648
  method: "GET",
1581
1649
  headers: {
1582
1650
  Accept: "application/json,text/javascript,*/*",
1583
- "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
1651
+ "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1584
1652
  },
1585
- onComplete(r) {
1586
- const a = JSON.parse(r), o = [];
1653
+ onComplete(c) {
1654
+ const a = JSON.parse(c), o = [];
1587
1655
  a.result.forEach((p) => {
1588
1656
  p.users = p.users.sort((u, f) => u.login.localeCompare(f.login)), p.users.length === t.length && o.push(p);
1589
1657
  });
@@ -1595,20 +1663,20 @@ function Z(e, t, s, n) {
1595
1663
  });
1596
1664
  s && l !== void 0 ? s(l) : (n || l === void 0) && n(l);
1597
1665
  },
1598
- onFailure(r) {
1599
- const a = r;
1666
+ onFailure(c) {
1667
+ const a = c;
1600
1668
  a.msg = headers.errormsg, a.errCode = headers.errorcode, console.log("❌ sendDirectMessageLite => ", a), n && n(a);
1601
1669
  }
1602
1670
  });
1603
1671
  });
1604
1672
  }
1605
- function A(e, t, s = void 0, n = void 0) {
1673
+ function U(e, t, s = void 0, n = void 0) {
1606
1674
  const i = {
1607
1675
  base: e.space,
1608
1676
  uri: "/api/community",
1609
1677
  id_msg: `${t.id_msg}`,
1610
1678
  endUri: "/instantmessages"
1611
- }, c = `${i.base}${i.uri}/${i.id_msg}${i.endUri}`, r = {
1679
+ }, r = `${i.base}${i.uri}/${i.id_msg}${i.endUri}`, c = {
1612
1680
  author: { login: t.senderId, displayName: t.senderName },
1613
1681
  accessState: null,
1614
1682
  commentUri: null,
@@ -1618,15 +1686,15 @@ function A(e, t, s = void 0, n = void 0) {
1618
1686
  parentCommentUri: null,
1619
1687
  richMessage: t.msg
1620
1688
  };
1621
- console.log("_3dSwym_sendDirectMessageData url ", c), w(e, (a) => {
1622
- m(c, {
1689
+ console.log("_3dSwym_sendDirectMessageData url ", r), w(e, (a) => {
1690
+ m(r, {
1623
1691
  method: "POST",
1624
1692
  headers: {
1625
1693
  "Content-Type": "application/json",
1626
1694
  Accept: "application/json",
1627
1695
  "X-DS-SWYM-CSRFTOKEN": a.result.ServerToken
1628
1696
  },
1629
- data: JSON.stringify(r),
1697
+ data: JSON.stringify(c),
1630
1698
  type: "json",
1631
1699
  onComplete(o, d, l) {
1632
1700
  const p = o;
@@ -1656,16 +1724,16 @@ const te = {
1656
1724
  idee_id: "THhRI8rlQNWKRxpv3Xqqug"
1657
1725
  // id de l'idee qui est créer au post (_3dSwym_postIdea)
1658
1726
  };
1659
- function Be(e, t, s = void 0, n = void 0) {
1660
- const i = `${e.space}/api/idea/add`, c = e.swymCommunities.find(
1727
+ function Ye(e, t, s = void 0, n = void 0) {
1728
+ const i = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
1661
1729
  (o) => o.id === t.community_id
1662
- ), r = e.swymCommunities.find(
1730
+ ), c = e.swymCommunities.find(
1663
1731
  (o) => o.title.toLowerCase() === t.community_title.toLowerCase()
1664
1732
  ), a = {
1665
1733
  params: {
1666
1734
  title: t.title,
1667
1735
  // String, le nom de l'affaire
1668
- community_id: c?.id !== void 0 ? c.id : r.id,
1736
+ community_id: r?.id !== void 0 ? r.id : c.id,
1669
1737
  // String, l'id de la communauté
1670
1738
  message: ne(t.text_html),
1671
1739
  // STRING => le contenue du message doit être au format HTML
@@ -1695,22 +1763,22 @@ function Be(e, t, s = void 0, n = void 0) {
1695
1763
  });
1696
1764
  });
1697
1765
  }
1698
- function Ye(e, t, s = void 0, n = void 0) {
1699
- const i = `${e.space}/api/idea/delete`, c = {
1766
+ function qe(e, t, s = void 0, n = void 0) {
1767
+ const i = `${e.space}/api/idea/delete`, r = {
1700
1768
  params: {
1701
1769
  community_id: t.community_id,
1702
1770
  ideationIds: [t.idee_id]
1703
1771
  }
1704
1772
  };
1705
- w(e, (r) => {
1773
+ w(e, (c) => {
1706
1774
  m(i, {
1707
1775
  method: "POST",
1708
1776
  headers: {
1709
1777
  "Content-type": "application/json;charset=UTF-8",
1710
1778
  Accept: "application/json",
1711
- "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1779
+ "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
1712
1780
  },
1713
- data: JSON.stringify(c),
1781
+ data: JSON.stringify(r),
1714
1782
  type: "json",
1715
1783
  onComplete(a, o, d) {
1716
1784
  s && s(a);
@@ -1725,20 +1793,20 @@ function Ye(e, t, s = void 0, n = void 0) {
1725
1793
  function He(e, t = "", s = void 0, n = void 0) {
1726
1794
  const i = e.tenant.toLowerCase() === "r1132101716373" ? "tFtz0G4MR6qNtKgJjNfTog" : e.tenant.toLowerCase() === "r1132101286859" ? "Qpv3HN-tTDOsU-7_c5DnDg" : "Template_d'idée_à_créer";
1727
1795
  t === "" && (t = i);
1728
- const c = `${e.space}/api/idea/get`, r = {
1796
+ const r = `${e.space}/api/idea/get`, c = {
1729
1797
  params: {
1730
1798
  id: t
1731
1799
  }
1732
1800
  };
1733
1801
  w(e, (a) => {
1734
- m(c, {
1802
+ m(r, {
1735
1803
  method: "POST",
1736
1804
  headers: {
1737
1805
  "Content-type": "application/json;charset=UTF-8",
1738
1806
  Accept: "application/json",
1739
1807
  "X-DS-SWYM-CSRFTOKEN": a.result.ServerToken
1740
1808
  },
1741
- data: JSON.stringify(r),
1809
+ data: JSON.stringify(c),
1742
1810
  type: "json",
1743
1811
  onComplete(o) {
1744
1812
  const d = o;
@@ -1756,12 +1824,12 @@ function ze(e, t = te, s = void 0, n = void 0) {
1756
1824
  uri: "/api/idea/list",
1757
1825
  comId: `/community_id/${e.tenant.toLowerCase() === "r1132101716373" ? t.community_id : "bgnIsG74SUWswyGzS6NC6g"}`,
1758
1826
  limit: `/limit/${t.limit ? t.limit : 10}`
1759
- }, c = `${e.space}${i.uri}${i.comId}${i.limit}`;
1760
- w(e, (r) => {
1761
- m(c, {
1827
+ }, r = `${e.space}${i.uri}${i.comId}${i.limit}`;
1828
+ w(e, (c) => {
1829
+ m(r, {
1762
1830
  method: "GET",
1763
1831
  headers: {
1764
- "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
1832
+ "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
1765
1833
  },
1766
1834
  onComplete(a) {
1767
1835
  const o = JSON.parse(a);
@@ -1849,7 +1917,7 @@ function ne(e) {
1849
1917
  <p>
1850
1918
  </p>` : e;
1851
1919
  }
1852
- function qe(e, t = void 0, s = void 0) {
1920
+ function Qe(e, t = void 0, s = void 0) {
1853
1921
  const n = e.space + "/api/user/getcurrent/";
1854
1922
  w(e, (i) => {
1855
1923
  m(n, {
@@ -1857,75 +1925,76 @@ function qe(e, t = void 0, s = void 0) {
1857
1925
  headers: {
1858
1926
  "X-DS-SWYM-CSRFTOKEN": i.result.ServerToken
1859
1927
  },
1860
- onComplete(c, r, a) {
1861
- const o = JSON.parse(c);
1928
+ onComplete(r, c, a) {
1929
+ const o = JSON.parse(r);
1862
1930
  t && t(o.result);
1863
1931
  },
1864
- onFailure(c, r, a) {
1865
- const o = { erreur: JSON.parse(c), headers: r, xhr: a };
1932
+ onFailure(r, c, a) {
1933
+ const o = { erreur: JSON.parse(r), headers: c, xhr: a };
1866
1934
  s && s(o);
1867
1935
  }
1868
1936
  });
1869
1937
  });
1870
1938
  }
1871
- function Qe(e, t, s = void 0, n = void 0) {
1939
+ function Ze(e, t, s = void 0, n = void 0) {
1872
1940
  const i = e.space + "/api/user/find/login/" + t;
1873
1941
  w(
1874
1942
  e,
1875
- (c) => {
1943
+ (r) => {
1876
1944
  m(i, {
1877
1945
  method: "GET",
1878
- headers: { "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken },
1879
- onComplete(r, a, o) {
1880
- const d = JSON.parse(r);
1946
+ headers: { "X-DS-SWYM-CSRFTOKEN": r.result.ServerToken },
1947
+ onComplete(c, a, o) {
1948
+ const d = JSON.parse(c);
1881
1949
  s && s(d);
1882
1950
  },
1883
- onFailure(r) {
1884
- n && n(r);
1951
+ onFailure(c) {
1952
+ n && n(c);
1885
1953
  }
1886
1954
  });
1887
1955
  },
1888
1956
  n
1889
1957
  );
1890
1958
  }
1891
- function Ze(e) {
1959
+ function et(e) {
1892
1960
  const t = "Hello " + e;
1893
1961
  return console.log(t), t;
1894
1962
  }
1895
1963
  export {
1896
- I as UUID,
1964
+ R as UUID,
1897
1965
  ke as _3DSpace_Create_Doc,
1966
+ je as _3DSpace_bookmark_addSubsciptions,
1898
1967
  C as _3DSpace_csrf,
1899
- R as _3DSpace_download_doc,
1900
- X as _3DSpace_download_multidoc,
1968
+ I as _3DSpace_download_doc,
1969
+ W as _3DSpace_download_multidoc,
1901
1970
  K as _3DSpace_file_update,
1902
- W as _3DSpace_file_update_csr,
1971
+ X as _3DSpace_file_update_csr,
1903
1972
  Ne as _3DSpace_file_url_csr,
1904
1973
  k as _3DSpace_get_csrf,
1905
1974
  G as _3DSpace_get_docInfo,
1906
1975
  V as _3DSpace_get_downloadTicket_multidoc,
1907
- b as _3DSpace_get_securityContexts,
1908
- U as _3DSpace_get_ticket,
1909
- Ae as _3DSpace_lifecycle_changeRevision,
1910
- Fe as _3DSpace_lifecycle_changeState,
1911
- Ue as _3DSpace_lifecycle_getGraph,
1912
- je as _3DSpace_lifecycle_getNextRevision,
1913
- De as _3DSpace_lifecycle_getNextStates,
1914
- Ve as _3DSwym_buildDirectMessage,
1915
- Ye as _3DSwym_deleteIdea,
1976
+ N as _3DSpace_get_securityContexts,
1977
+ A as _3DSpace_get_ticket,
1978
+ Ue as _3DSpace_lifecycle_changeRevision,
1979
+ De as _3DSpace_lifecycle_changeState,
1980
+ Ae as _3DSpace_lifecycle_getGraph,
1981
+ $e as _3DSpace_lifecycle_getNextRevision,
1982
+ Fe as _3DSpace_lifecycle_getNextStates,
1983
+ Be as _3DSwym_buildDirectMessage,
1984
+ qe as _3DSwym_deleteIdea,
1916
1985
  Z as _3DSwym_findCommunityToInstantMSG,
1917
1986
  We as _3DSwym_getAllCommunities,
1918
- Ge as _3DSwym_getAllNews,
1919
- Ke as _3DSwym_getFamiliarPeople,
1920
- Xe as _3DSwym_getIdeaStatusMaturity,
1987
+ Ke as _3DSwym_getAllNews,
1988
+ Xe as _3DSwym_getFamiliarPeople,
1989
+ Ve as _3DSwym_getIdeaStatusMaturity,
1921
1990
  Q as _3DSwym_getMembersCommunity,
1922
1991
  He as _3DSwym_getSWYMIdea,
1923
1992
  ze as _3DSwym_get_AllSWYMIdeas,
1924
- qe as _3DSwym_get_currentUser,
1925
- Qe as _3DSwym_get_findUser,
1993
+ Qe as _3DSwym_get_currentUser,
1994
+ Ze as _3DSwym_get_findUser,
1926
1995
  w as _3DSwym_get_version,
1927
- Be as _3DSwym_postIdea,
1928
- A as _3DSwym_sendMessageData,
1996
+ Ye as _3DSwym_postIdea,
1997
+ U as _3DSwym_sendMessageData,
1929
1998
  Se as _AppMngt_get_info_user,
1930
1999
  he as _AppMngt_get_users,
1931
2000
  me as _getPlateformInfos,
@@ -1934,32 +2003,32 @@ export {
1934
2003
  le as _setDraggable,
1935
2004
  ue as _setDroppable,
1936
2005
  pe as _setupTagger,
1937
- Le as addTagToDoc,
2006
+ Je as addTagToDoc,
1938
2007
  ge as compass_getListAdditionalApps,
1939
2008
  L as couleurs,
1940
2009
  _e as createUserGroups,
1941
2010
  B as dataMixing,
1942
2011
  Te as deleteUserGroups,
1943
2012
  re as findAdresse,
1944
- $e as getAllContextSecurity,
2013
+ Re as getAllContextSecurity,
1945
2014
  E as getCSRFToken,
1946
2015
  oe as getCommunes,
1947
2016
  ye as getComplementUG,
1948
2017
  Ie as getDataFrom3DSpace,
1949
2018
  ce as getDataFromGouvFr,
1950
- xe as getDatasByTenant,
1951
- Me as getDatasFrom3DSpace,
1952
- Re as getDownloadDocument,
1953
- Ee as getInfoDocTags,
2019
+ Me as getDatasByTenant,
2020
+ Le as getDatasFrom3DSpace,
2021
+ ve as getDownloadDocument,
2022
+ Ge as getInfoDocTags,
1954
2023
  we as getUserGroupsList,
1955
2024
  J as getUsersGroupRules,
1956
- Pe as get_3DSpace_csrf,
2025
+ xe as get_3DSpace_csrf,
1957
2026
  Ce as patchUserGroups,
1958
2027
  Oe as patchUserGroupsControl,
1959
- ve as pushDataIn3DSpace,
2028
+ Pe as pushDataIn3DSpace,
1960
2029
  be as readUserGroupControl,
1961
- Je as removeTagToDoc,
1962
- Ze as sayHello,
2030
+ Ee as removeTagToDoc,
2031
+ et as sayHello,
1963
2032
  de as updateEvent
1964
2033
  };
1965
2034
  //# sourceMappingURL=wb3Api.js.map