@beam3_dev/api_module 0.0.201 → 0.0.203

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 V = {
34
34
  b3Edit8: "#616161",
35
35
  b3Edit9: "#795548"
36
36
  };
37
- async function me(e, t = void 0, s = void 0) {
37
+ async function he(e, t = void 0, s = void 0) {
38
38
  const n = parseInt(e);
39
39
  await fetch(
40
40
  "https://apicarto.ign.fr/api/codes-postaux/communes/" + n,
@@ -50,7 +50,7 @@ async function me(e, t = void 0, s = void 0) {
50
50
  s && s(i), console.error("Erreur : " + i);
51
51
  });
52
52
  }
53
- async function ge(e, t = void 0, s = void 0) {
53
+ async function ye(e, t = void 0, s = void 0) {
54
54
  e = encodeURIComponent(e), await fetch(
55
55
  "https://api-adresse.data.gouv.fr/search/?q=" + e + "&limit=15",
56
56
  {
@@ -65,7 +65,7 @@ async function ge(e, t = void 0, s = void 0) {
65
65
  s && s(n), console.error("Erreur : " + n);
66
66
  });
67
67
  }
68
- async function he(e, t = V) {
68
+ async function Se(e, t = V) {
69
69
  let s = N.now().year;
70
70
  const n = e, i = [], r = (a) => {
71
71
  for (let c in a)
@@ -100,13 +100,13 @@ async function he(e, t = V) {
100
100
  return a;
101
101
  })();
102
102
  }
103
- function ye(e, t, s) {
103
+ function X(e, t, s) {
104
104
  const { myArray: n, chunk: i, fn_to_call: r } = e, o = [];
105
105
  for (let a = 0; a < n.length; a += i) {
106
106
  const c = n.slice(a, a + i);
107
107
  o.push(c);
108
108
  }
109
- X(
109
+ W(
110
110
  { chunks: o, initLoop: 0, fn: r },
111
111
  (a) => {
112
112
  t && t(a);
@@ -116,7 +116,7 @@ function ye(e, t, s) {
116
116
  }
117
117
  );
118
118
  }
119
- function X(e, t, s) {
119
+ function W(e, t, s) {
120
120
  const { chunks: n, initLoop: i, fn: r } = e, o = (a) => {
121
121
  r(
122
122
  n[a],
@@ -133,7 +133,7 @@ function X(e, t, s) {
133
133
  };
134
134
  o(i);
135
135
  }
136
- async function Se(e, t, s = !0) {
136
+ async function _e(e, t, s = !0) {
137
137
  const n = e.events.findIndex((i) => i.uuid === t.uuid);
138
138
  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;
139
139
  }
@@ -142,7 +142,7 @@ function m(e, t) {
142
142
  s.authenticatedRequest(e, t);
143
143
  });
144
144
  }
145
- function _e(e, t, s) {
145
+ function we(e, t, s) {
146
146
  O(["DS/DataDragAndDrop/DataDragAndDrop"], (n) => {
147
147
  n.draggable(e, {
148
148
  data: t,
@@ -150,7 +150,7 @@ function _e(e, t, s) {
150
150
  });
151
151
  });
152
152
  }
153
- function we(e, t = void 0) {
153
+ function Te(e, t = void 0) {
154
154
  O(["DS/TagNavigatorProxy/TagNavigatorProxy"], (s) => {
155
155
  let n;
156
156
  n === void 0 && (n = s.createProxy({
@@ -159,14 +159,14 @@ function we(e, t = void 0) {
159
159
  }), t !== void 0 && n.addEvent("onFilterSubjectsChange", t)), n.setSubjectsTags(e);
160
160
  });
161
161
  }
162
- function Te(e, t) {
162
+ function Ce(e, t) {
163
163
  O(["DS/DataDragAndDrop/DataDragAndDrop"], (s) => {
164
164
  s.droppable(e, {
165
165
  drop: t
166
166
  });
167
167
  });
168
168
  }
169
- async function Ce(e, t = void 0, s = void 0) {
169
+ async function be(e, t = void 0, s = void 0) {
170
170
  await O(
171
171
  ["DS/i3DXCompassServices/i3DXCompassServices"],
172
172
  (n) => {
@@ -180,7 +180,7 @@ async function Ce(e, t = void 0, s = void 0) {
180
180
  }
181
181
  );
182
182
  }
183
- function W() {
183
+ function Y() {
184
184
  let e = {};
185
185
  return O(["DS/PlatformAPI/PlatformAPI"], (t) => {
186
186
  const s = t.getTenant(), n = t.getUser(), i = t.getAllApplicationConfigurations(), r = t.getApplicationConfiguration(
@@ -214,7 +214,7 @@ function T(e, t = void 0, s = void 0) {
214
214
  });
215
215
  }
216
216
  }
217
- function be(e, t = void 0, s = void 0) {
217
+ function Oe(e, t = void 0, s = void 0) {
218
218
  if (e.tenant) {
219
219
  const n = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dpassport&platformId=${e.tenant}`;
220
220
  m(n, {
@@ -231,7 +231,7 @@ function be(e, t = void 0, s = void 0) {
231
231
  });
232
232
  }
233
233
  }
234
- function Oe(e, t, s) {
234
+ function $e(e, t, s) {
235
235
  const n = {
236
236
  base: `${e.space}`,
237
237
  uri: "/resources/AppsMngt/api/custom/applications",
@@ -257,7 +257,7 @@ function Oe(e, t, s) {
257
257
  }
258
258
  });
259
259
  }
260
- function $e(e, t = void 0, s = void 0) {
260
+ function ve(e, t = void 0, s = void 0) {
261
261
  let n = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
262
262
  m(n, {
263
263
  onComplete(i, r, o) {
@@ -270,7 +270,7 @@ function $e(e, t = void 0, s = void 0) {
270
270
  }
271
271
  });
272
272
  }
273
- function ve(e, t, s = void 0, n = void 0) {
273
+ function Ne(e, t, s = void 0, n = void 0) {
274
274
  let i = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${t}`;
275
275
  m(i, {
276
276
  onComplete(r, o, a) {
@@ -287,7 +287,7 @@ const U = {
287
287
  "Content-Type": "application/json",
288
288
  Accept: "application/json,text/javascript,*/*"
289
289
  };
290
- function Ne(e, t, s = void 0, n = void 0) {
290
+ function Ie(e, t, s = void 0, n = void 0) {
291
291
  const { space: i, currentUser: r } = e, a = `${i}${{
292
292
  URIUGr: "/3drdfpersist/resources/v1/usersgroup"
293
293
  }.URIUGr}`, c = {
@@ -316,7 +316,7 @@ function Ne(e, t, s = void 0, n = void 0) {
316
316
  }
317
317
  });
318
318
  }
319
- function Ie(e, t, s = void 0, n = void 0) {
319
+ function Ae(e, t, s = void 0, n = void 0) {
320
320
  const { space: i, tenant: r } = e, o = i, a = `/3drdfpersist/v1/resources/${t}`, c = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${r}`, d = `${o}${a}${c}`;
321
321
  m(d, {
322
322
  opts: {
@@ -335,7 +335,7 @@ function Ie(e, t, s = void 0, n = void 0) {
335
335
  }
336
336
  });
337
337
  }
338
- function Y(e, t = void 0, s = void 0) {
338
+ function q(e, t = void 0, s = void 0) {
339
339
  const { space: n, tenant: i } = e, r = n, o = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${i}`, c = {
340
340
  method: "GET",
341
341
  Accept: "application/json,*/*,test/javascript"
@@ -351,7 +351,7 @@ function Y(e, t = void 0, s = void 0) {
351
351
  }
352
352
  });
353
353
  }
354
- function Ae(e, t = void 0, s = void 0) {
354
+ function ke(e, t = void 0, s = void 0) {
355
355
  const { space: n, currentUser: i } = e, a = `${n}/3drdfpersist/resources/v1/usersgroup?select=uri,title,description,owner,members,pending_members,creation_date,modification_date,visibility`, d = { method: "GET", headers: {
356
356
  "Content-Type": "application/json",
357
357
  Accept: "application/json,text/javascript,*/*"
@@ -363,7 +363,7 @@ function Ae(e, t = void 0, s = void 0) {
363
363
  const u = JSON.parse(p), f = {}, l = u.groups.filter((g) => g.uri.startsWith("uuid:"));
364
364
  if (i && Object.keys(i).length > 0) {
365
365
  const g = l.filter((S) => S.owner === i.email), h = l.filter((S) => S.members.includes(i.email)), y = g.concat(h);
366
- f.iam = y, f.UG = l, f.iamMember = h, Y(
366
+ f.iam = y, f.UG = l, f.iamMember = h, q(
367
367
  e,
368
368
  (S) => {
369
369
  f.rules = S, t && t(f);
@@ -382,13 +382,13 @@ function Ae(e, t = void 0, s = void 0) {
382
382
  console.log(p);
383
383
  }
384
384
  }
385
- function ke(e, t) {
385
+ function Fe(e, t) {
386
386
  const { space: s } = e, i = `${s}/3drdfpersist/resources/v1/usersgroup/${t}`;
387
387
  m(i, {
388
388
  method: "DELETE"
389
389
  });
390
390
  }
391
- function Fe(e, t, s, n = void 0, i = void 0) {
391
+ function Ue(e, t, s, n = void 0, i = void 0) {
392
392
  const { space: r, tenant: o } = e, a = {
393
393
  URITI: "/3drdfpersist/resources/v1/template-instances",
394
394
  URIUGr: "/3drdfpersist/resources/v1/usersgroup",
@@ -411,7 +411,7 @@ function Fe(e, t, s, n = void 0, i = void 0) {
411
411
  }
412
412
  });
413
413
  }
414
- function Ue(e, t, s, n = void 0, i = void 0) {
414
+ function je(e, t, s, n = void 0, i = void 0) {
415
415
  const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
416
416
  m(a, {
417
417
  method: "PATCH",
@@ -426,7 +426,7 @@ function Ue(e, t, s, n = void 0, i = void 0) {
426
426
  }
427
427
  });
428
428
  }
429
- function je(e, t, s = void 0, n = void 0) {
429
+ function xe(e, t, s = void 0, n = void 0) {
430
430
  const { space: i } = e, o = `${i}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
431
431
  m(o, {
432
432
  opts: {
@@ -444,7 +444,7 @@ function je(e, t, s = void 0, n = void 0) {
444
444
  }
445
445
  });
446
446
  }
447
- async function q(e, t, s) {
447
+ async function H(e, t, s) {
448
448
  if (e.space) {
449
449
  const n = `${e.space}/resources/v1/application/CSRF`;
450
450
  m(n, {
@@ -458,10 +458,10 @@ async function q(e, t, s) {
458
458
  }
459
459
  }
460
460
  var I = {};
461
- function H(e, t) {
461
+ function z(e, t) {
462
462
  return Object.prototype.hasOwnProperty.call(e, t);
463
463
  }
464
- var z = function(e, t, s, n) {
464
+ var Q = function(e, t, s, n) {
465
465
  t = t || "&", s = s || "=";
466
466
  var i = {};
467
467
  if (typeof e != "string" || e.length === 0)
@@ -474,7 +474,7 @@ var z = function(e, t, s, n) {
474
474
  o > 0 && a > o && (a = o);
475
475
  for (var c = 0; c < a; ++c) {
476
476
  var d = e[c].replace(r, "%20"), p = d.indexOf(s), u, f, l, g;
477
- p >= 0 ? (u = d.substr(0, p), f = d.substr(p + 1)) : (u = d, f = ""), l = decodeURIComponent(u), g = decodeURIComponent(f), H(i, l) ? Array.isArray(i[l]) ? i[l].push(g) : i[l] = [i[l], g] : i[l] = g;
477
+ p >= 0 ? (u = d.substr(0, p), f = d.substr(p + 1)) : (u = d, f = ""), l = decodeURIComponent(u), g = decodeURIComponent(f), z(i, l) ? Array.isArray(i[l]) ? i[l].push(g) : i[l] = [i[l], g] : i[l] = g;
478
478
  }
479
479
  return i;
480
480
  }, v = function(e) {
@@ -488,7 +488,7 @@ var z = function(e, t, s, n) {
488
488
  default:
489
489
  return "";
490
490
  }
491
- }, Q = function(e, t, s, n) {
491
+ }, Z = function(e, t, s, n) {
492
492
  return t = t || "&", s = s || "=", e === null && (e = void 0), typeof e == "object" ? Object.keys(e).map(function(i) {
493
493
  var r = encodeURIComponent(v(i)) + s;
494
494
  return Array.isArray(e[i]) ? e[i].map(function(o) {
@@ -496,8 +496,8 @@ var z = function(e, t, s, n) {
496
496
  }).join(t) : r + encodeURIComponent(v(e[i]));
497
497
  }).filter(Boolean).join(t) : n ? encodeURIComponent(v(n)) + s + encodeURIComponent(v(e)) : "";
498
498
  };
499
- I.decode = I.parse = z;
500
- I.encode = I.stringify = Q;
499
+ I.decode = I.parse = Q;
500
+ I.encode = I.stringify = Z;
501
501
  async function L(e, t = void 0, s = void 0, n = void 0) {
502
502
  const i = e.space;
503
503
  if (t === void 0) {
@@ -515,7 +515,7 @@ async function L(e, t = void 0, s = void 0, n = void 0) {
515
515
  }
516
516
  });
517
517
  }
518
- async function xe(e, t = void 0, s = void 0, n = void 0) {
518
+ async function Re(e, t = void 0, s = void 0, n = void 0) {
519
519
  const i = e.space;
520
520
  if (t === void 0) {
521
521
  console.log("Le paramètre docids est obligatoire");
@@ -605,7 +605,7 @@ function j(e, t = void 0, s = void 0) {
605
605
  }
606
606
  );
607
607
  }
608
- function Re(e, t, s, n = void 0, i = void 0) {
608
+ function Pe(e, t, s, n = void 0, i = void 0) {
609
609
  const r = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
610
610
  s || (s = e.token), m(r, {
611
611
  method: "PUT",
@@ -628,7 +628,7 @@ function Re(e, t, s, n = void 0, i = void 0) {
628
628
  });
629
629
  }
630
630
  function M(e, t, s, n, i, r = void 0, o = void 0) {
631
- const a = () => Z(
631
+ const a = () => ee(
632
632
  e,
633
633
  t,
634
634
  s,
@@ -646,7 +646,7 @@ function M(e, t, s, n, i, r = void 0, o = void 0) {
646
646
  }
647
647
  );
648
648
  }
649
- function Z(e, t, s, n, i, r, o = void 0, a = void 0) {
649
+ function ee(e, t, s, n, i, r, o = void 0, a = void 0) {
650
650
  const c = e.space + `/resources/v1/modeler/documents/${t}/files/CheckinTicket`;
651
651
  m(c, {
652
652
  method: "PUT",
@@ -704,7 +704,7 @@ function Z(e, t, s, n, i, r, o = void 0, a = void 0) {
704
704
  }
705
705
  });
706
706
  }
707
- async function Pe(e, t, s, n = void 0, i = void 0) {
707
+ async function De(e, t, s, n = void 0, i = void 0) {
708
708
  e.space, e.token, e.ctx, L(
709
709
  e,
710
710
  t,
@@ -729,7 +729,7 @@ async function Pe(e, t, s, n = void 0, i = void 0) {
729
729
  }
730
730
  );
731
731
  }
732
- async function De(e, t, s, n, i = void 0, r = void 0) {
732
+ async function Le(e, t, s, n, i = void 0, r = void 0) {
733
733
  const o = e.space, a = e.token, c = e.ctx;
734
734
  if (o !== "") {
735
735
  let d = `${o}/resources/v1/modeler/documents/files/CheckinTicket`;
@@ -857,7 +857,7 @@ async function J(e, t = void 0, s = void 0) {
857
857
  "_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
858
858
  )), (e.space === "" || !e.space) && (console.warn(
859
859
  "_3DSpace_download_doc() / Le paramètre space est obligatoire"
860
- ), s && s("_3DSpace_download_doc() / Le paramètre space est obligatoire")), (e.token === "" || !e.token) && q(
860
+ ), s && s("_3DSpace_download_doc() / Le paramètre space est obligatoire")), (e.token === "" || !e.token) && H(
861
861
  e,
862
862
  (n) => {
863
863
  e.token = n;
@@ -902,24 +902,20 @@ async function J(e, t = void 0, s = void 0) {
902
902
  );
903
903
  });
904
904
  }
905
- async function ee(e, t, s = void 0, n = void 0) {
906
- if (typeof t < "u" && Array.isArray(t) && t?.length > 0) {
907
- const i = {
908
- myArray: t,
909
- chunk: 80,
910
- fn_to_call: _3dspace_get_downloadTicket_multidoc
911
- };
912
- chunkArray(i, (r) => {
913
- s && s(r);
914
- });
915
- } else
916
- console.warn(
917
- "La liste d'objects dans la fonction _3DSpace_download_multidoc est vide ou non défini."
918
- ), n && n(
919
- "La liste d'objects dans la fonction _3DSpace_download_multidoc est vide ou non défini."
920
- );
921
- }
922
- function Le(e, t, s = void 0, n = void 0, i = void 0) {
905
+ async function te(e, t, s = void 0, n = void 0) {
906
+ typeof t < "u" && Array.isArray(t) && t?.length > 0 ? X({
907
+ myArray: t,
908
+ chunk: 80,
909
+ fn_to_call: ne
910
+ }, (r) => {
911
+ s && s(r);
912
+ }) : (console.warn(
913
+ "La liste d'objects dans la fonction _3DSpace_download_multidoc est vide ou non défini."
914
+ ), n && n(
915
+ "La liste d'objects dans la fonction _3DSpace_download_multidoc est vide ou non défini."
916
+ ));
917
+ }
918
+ function ne(e, t, s = void 0, n = void 0, i = void 0) {
923
919
  const r = [];
924
920
  t.forEach((c) => {
925
921
  r.push({
@@ -1344,13 +1340,13 @@ function Qe(e, t = void 0, s = void 0) {
1344
1340
  e,
1345
1341
  i.objID,
1346
1342
  (o) => {
1347
- n.push({ [i.name]: o }), i.name === "dbProjets" && (G = o.affaires.map((a) => a.objectID), te(e, E)), r === e.objIds.length - 1 && (t && t(n), delete e.objIds, delete e.datas);
1343
+ n.push({ [i.name]: o }), i.name === "dbProjets" && (G = o.affaires.map((a) => a.objectID), se(e, E)), r === e.objIds.length - 1 && (t && t(n), delete e.objIds, delete e.datas);
1348
1344
  }
1349
1345
  );
1350
1346
  });
1351
1347
  }
1352
- function te(e, t, s = void 0, n = void 0) {
1353
- ee(
1348
+ function se(e, t, s = void 0, n = void 0) {
1349
+ te(
1354
1350
  e,
1355
1351
  G,
1356
1352
  (i) => {
@@ -1362,7 +1358,7 @@ function te(e, t, s = void 0, n = void 0) {
1362
1358
  }
1363
1359
  );
1364
1360
  }
1365
- const ne = "FA35FB9B177A280065800EA0000F599C", se = [
1361
+ const ie = "FA35FB9B177A280065800EA0000F599C", ae = [
1366
1362
  "swym",
1367
1363
  "3dspace",
1368
1364
  "drive",
@@ -1376,8 +1372,8 @@ const ne = "FA35FB9B177A280065800EA0000F599C", se = [
1376
1372
  where: "ds6w:where",
1377
1373
  who: "ds6w:who",
1378
1374
  why: "ds6w:why"
1379
- }, ie = {
1380
- objId: ne,
1375
+ }, oe = {
1376
+ objId: ie,
1381
1377
  pred: "who",
1382
1378
  order_by: "desc",
1383
1379
  tag: "testTag"
@@ -1418,7 +1414,7 @@ function Ze(e, t, s = void 0, n = void 0) {
1418
1414
  o,
1419
1415
  (g) => {
1420
1416
  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;
1421
- l.name = h, l.ext = y, l.createBy = S, t.info = { ...l }, ae(
1417
+ l.name = h, l.ext = y, l.createBy = S, t.info = { ...l }, re(
1422
1418
  e,
1423
1419
  t,
1424
1420
  (_) => {
@@ -1442,7 +1438,7 @@ function Ze(e, t, s = void 0, n = void 0) {
1442
1438
  }
1443
1439
  });
1444
1440
  }
1445
- function ae(e, t, s = void 0, n = void 0) {
1441
+ function re(e, t, s = void 0, n = void 0) {
1446
1442
  console.log("obj ", t);
1447
1443
  const i = t.info.name, r = {
1448
1444
  baseUrl: `https://${e.tenant.toLowerCase()}-eu1-fedsearch.3dexperience.3ds.com`,
@@ -1492,7 +1488,7 @@ function ae(e, t, s = void 0, n = void 0) {
1492
1488
  }
1493
1489
  },
1494
1490
  select_exclude_synthesis: ["ds6w:what/ds6w:topic"],
1495
- order_by: ie.order_by,
1491
+ order_by: oe.order_by,
1496
1492
  order_field: "relevance",
1497
1493
  select_snippets: [
1498
1494
  "ds6w:snippet",
@@ -1503,7 +1499,7 @@ function ae(e, t, s = void 0, n = void 0) {
1503
1499
  ],
1504
1500
  nresults: 40,
1505
1501
  start: "0",
1506
- source: se,
1502
+ source: ae,
1507
1503
  tenant: e.tenant,
1508
1504
  login: {
1509
1505
  "3dspace": {
@@ -1682,7 +1678,7 @@ function it(e, t = void 0, s = void 0) {
1682
1678
  role: l.role,
1683
1679
  access: l.access
1684
1680
  };
1685
- oe(
1681
+ ce(
1686
1682
  e,
1687
1683
  l.id,
1688
1684
  (h) => {
@@ -1699,7 +1695,7 @@ function it(e, t = void 0, s = void 0) {
1699
1695
  });
1700
1696
  });
1701
1697
  }
1702
- function oe(e, t, s, n) {
1698
+ function ce(e, t, s, n) {
1703
1699
  const i = `${e.space}/api/community/listmembers`, r = {
1704
1700
  params: {
1705
1701
  page: e.page ? e.page : 1,
@@ -1759,10 +1755,10 @@ function ot(e, t, s = void 0, n = void 0) {
1759
1755
  id_msg: "",
1760
1756
  senderId: e.currentUser.login,
1761
1757
  senderName: `${e.currentUser.first_name} ${e.currentUser.last_name}`,
1762
- msg: ce(t.msg)
1758
+ msg: pe(t.msg)
1763
1759
  };
1764
1760
  let d = !1;
1765
- re(
1761
+ de(
1766
1762
  a.users,
1767
1763
  (p) => {
1768
1764
  p !== void 0 && (c.id_msg = p.id, d = !0, R(e, c));
@@ -1793,7 +1789,7 @@ function ot(e, t, s = void 0, n = void 0) {
1793
1789
  });
1794
1790
  }, 500);
1795
1791
  }
1796
- function re(e, t, s, n) {
1792
+ function de(e, t, s, n) {
1797
1793
  const i = `${e.space}/api/directmessages/lite?with_favorites=false`;
1798
1794
  w(e, (r) => {
1799
1795
  m(i, {
@@ -1859,14 +1855,14 @@ function R(e, t, s = void 0, n = void 0) {
1859
1855
  });
1860
1856
  });
1861
1857
  }
1862
- function ce(e) {
1858
+ function pe(e) {
1863
1859
  const t = (/* @__PURE__ */ new Date()).toLocaleDateString(), s = (/* @__PURE__ */ new Date()).toLocaleTimeString();
1864
1860
  return `<p>${e} </p>
1865
1861
  <br/>
1866
1862
  <hr/>
1867
1863
  <p><u>envoyer :</u>Le <b>${t} à ${s}</b></p>`;
1868
1864
  }
1869
- const de = {
1865
+ const ue = {
1870
1866
  title: "TEST DEV COMMUNITY IDEA",
1871
1867
  // titre du post
1872
1868
  community_id: "YXdA5x4DSUKtlAi2wmnyTA",
@@ -1887,7 +1883,7 @@ function rt(e, t, s = void 0, n = void 0) {
1887
1883
  // String, le nom de l'affaire
1888
1884
  community_id: r?.id !== void 0 ? r.id : o.id,
1889
1885
  // String, l'id de la communauté
1890
- message: pe(t.text_html),
1886
+ message: le(t.text_html),
1891
1887
  // STRING => le contenue du message doit être au format HTML
1892
1888
  published: 1
1893
1889
  // 1 publier, 0 non publier
@@ -2082,7 +2078,7 @@ function ut(e, t, s) {
2082
2078
  m(n.base + n.uri, o);
2083
2079
  });
2084
2080
  }
2085
- function lt(e, t = de, s = void 0, n = void 0) {
2081
+ function lt(e, t = ue, s = void 0, n = void 0) {
2086
2082
  const i = {
2087
2083
  uri: "/api/idea/list",
2088
2084
  comId: `/community_id/${t.community_id}`,
@@ -2106,7 +2102,7 @@ function lt(e, t = de, s = void 0, n = void 0) {
2106
2102
  });
2107
2103
  });
2108
2104
  }
2109
- function pe(e) {
2105
+ function le(e) {
2110
2106
  return !e || e === "" ? `<h2><u>INFORMATIONS AFFAIRE :</u></h2>
2111
2107
  <p><u>|⚠️<em> Merci de respecter l&#39;écriture des tags, en MAJUSCULES, nom complet, pas de caractères</em></u></p>
2112
2108
  <p><u><em>|spéciaux, séparation par &#34;_&#34; si besoin !</em></u></p>
@@ -2394,7 +2390,7 @@ function Nt(e) {
2394
2390
  function It(e, t = void 0, s = void 0) {
2395
2391
  return console.log("credentials", e), new Promise((n) => {
2396
2392
  if (e.token === "" && b(e), !e.space || e.space === "") {
2397
- const o = W();
2393
+ const o = Y();
2398
2394
  console.log("platformeInfo", o);
2399
2395
  }
2400
2396
  k(
@@ -2473,20 +2469,20 @@ function It(e, t = void 0, s = void 0) {
2473
2469
  export {
2474
2470
  D as UUID,
2475
2471
  It as _3DSearch_usersGroup,
2476
- De as _3DSpace_Create_Doc,
2477
- Pe as _3DSpace_Update_Doc,
2472
+ Le as _3DSpace_Create_Doc,
2473
+ De as _3DSpace_Update_Doc,
2478
2474
  Ve as _3DSpace_bookmark_addSubsciptions,
2479
2475
  Be as _3DSpace_bookmark_newWorkspace,
2480
2476
  b as _3DSpace_csrf,
2481
2477
  J as _3DSpace_download_doc,
2482
- ee as _3DSpace_download_multidoc,
2478
+ te as _3DSpace_download_multidoc,
2483
2479
  M as _3DSpace_file_update,
2484
- Z as _3DSpace_file_update_csr,
2485
- Re as _3DSpace_file_url_csr,
2480
+ ee as _3DSpace_file_update_csr,
2481
+ Pe as _3DSpace_file_url_csr,
2486
2482
  A as _3DSpace_get_csrf,
2487
2483
  L as _3DSpace_get_docInfo,
2488
- Le as _3DSpace_get_downloadTicket_multidoc,
2489
- xe as _3DSpace_get_multiDocInfo,
2484
+ ne as _3DSpace_get_downloadTicket_multidoc,
2485
+ Re as _3DSpace_get_multiDocInfo,
2490
2486
  k as _3DSpace_get_securityContexts,
2491
2487
  j as _3DSpace_get_ticket,
2492
2488
  Ke as _3DSpace_lifecycle_changeRevision,
@@ -2497,13 +2493,13 @@ export {
2497
2493
  ot as _3DSwym_buildDirectMessage,
2498
2494
  dt as _3DSwym_deleteIdea,
2499
2495
  ut as _3DSwym_editIdea,
2500
- re as _3DSwym_findCommunityToInstantMSG,
2496
+ de as _3DSwym_findCommunityToInstantMSG,
2501
2497
  it as _3DSwym_getAllCommunities,
2502
2498
  lt as _3DSwym_getAllListIdeas,
2503
2499
  nt as _3DSwym_getAllNews,
2504
2500
  st as _3DSwym_getFamiliarPeople,
2505
2501
  at as _3DSwym_getIdeaStatusMaturity,
2506
- oe as _3DSwym_getMembersCommunity,
2502
+ ce as _3DSwym_getMembersCommunity,
2507
2503
  pt as _3DSwym_getOneIdea,
2508
2504
  w as _3DSwym_get_Token,
2509
2505
  ft as _3DSwym_get_currentUser,
@@ -2511,8 +2507,8 @@ export {
2511
2507
  ct as _3DSwym_postIdea,
2512
2508
  rt as _3DSwym_postIdeaTemplate,
2513
2509
  R as _3DSwym_sendMessageData,
2514
- ve as _AppMngt_get_info_user,
2515
- $e as _AppMngt_get_users,
2510
+ Ne as _AppMngt_get_info_user,
2511
+ ve as _AppMngt_get_users,
2516
2512
  bt as _Iterop_AddOrRemoveRows,
2517
2513
  ht as _Iterop_Auth_CAS,
2518
2514
  Ot as _Iterop_GetOneDependencyTable,
@@ -2524,42 +2520,42 @@ export {
2524
2520
  Tt as _Iterop_getOneBusinessTableRows,
2525
2521
  yt as _Iterop_jwtUser,
2526
2522
  Ct as _Iterop_runProcess,
2527
- W as _getPlateformInfos,
2528
- Ce as _getPlatformServices,
2523
+ Y as _getPlateformInfos,
2524
+ be as _getPlatformServices,
2529
2525
  T as _getServiceUrl,
2530
- be as _getServiceUrl_3DPassport,
2526
+ Oe as _getServiceUrl_3DPassport,
2531
2527
  gt as _getServiceUrl_Iterop,
2532
2528
  m as _httpCallAuthenticated,
2533
- _e as _setDraggable,
2534
- Te as _setDroppable,
2535
- we as _setupTagger,
2529
+ we as _setDraggable,
2530
+ Ce as _setDroppable,
2531
+ Te as _setupTagger,
2536
2532
  Ze as addTagToDoc,
2537
- ye as chunkArray,
2538
- Oe as compass_getListAdditionalApps,
2533
+ X as chunkArray,
2534
+ $e as compass_getListAdditionalApps,
2539
2535
  V as couleurs,
2540
- Ne as createUserGroups,
2541
- te as dataMixing,
2542
- ke as deleteUserGroups,
2543
- ge as findAdresse,
2536
+ Ie as createUserGroups,
2537
+ se as dataMixing,
2538
+ Fe as deleteUserGroups,
2539
+ ye as findAdresse,
2544
2540
  Xe as getAllContextSecurity,
2545
- q as getCSRFToken,
2546
- me as getCommunes,
2547
- Ie as getComplementUG,
2541
+ H as getCSRFToken,
2542
+ he as getCommunes,
2543
+ Ae as getComplementUG,
2548
2544
  We as getDataFrom3DSpace,
2549
- he as getDataFromGouvFr,
2545
+ Se as getDataFromGouvFr,
2550
2546
  ze as getDatasByTenant,
2551
2547
  Qe as getDatasFrom3DSpace,
2552
2548
  Ye as getDownloadDocument,
2553
2549
  tt as getInfoDocTags,
2554
- Ae as getUserGroupsList,
2555
- Y as getUsersGroupRules,
2550
+ ke as getUserGroupsList,
2551
+ q as getUsersGroupRules,
2556
2552
  He as get_3DSpace_csrf,
2557
- Fe as patchUserGroups,
2558
- Ue as patchUserGroupsControl,
2553
+ Ue as patchUserGroups,
2554
+ je as patchUserGroupsControl,
2559
2555
  qe as pushDataIn3DSpace,
2560
- je as readUserGroupControl,
2556
+ xe as readUserGroupControl,
2561
2557
  et as removeTagToDoc,
2562
2558
  Nt as sayHello,
2563
- Se as updateEvent
2559
+ _e as updateEvent
2564
2560
  };
2565
2561
  //# sourceMappingURL=wb3Api.js.map