@beam3_dev/api_module 0.0.34 → 0.0.36
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 +518 -561
- package/dist/wb3Api.umd.cjs +5 -5
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { v4 as
|
|
1
|
+
import { v4 as M } from "uuid";
|
|
2
2
|
import { DateTime as b } from "luxon";
|
|
3
|
-
import { requirejs as O, widget as
|
|
4
|
-
function
|
|
5
|
-
return
|
|
3
|
+
import { requirejs as O, widget as D } from "@widget-lab/3ddashboard-utils";
|
|
4
|
+
function j() {
|
|
5
|
+
return M();
|
|
6
6
|
}
|
|
7
|
-
const
|
|
7
|
+
const L = {
|
|
8
8
|
b3M3Yellow: "#FFB300",
|
|
9
9
|
b3AboutageBlue: "#42A5F5",
|
|
10
10
|
b3UsinageGreen: "#689F38",
|
|
@@ -34,7 +34,7 @@ const E = {
|
|
|
34
34
|
b3Edit8: "#616161",
|
|
35
35
|
b3Edit9: "#795548"
|
|
36
36
|
};
|
|
37
|
-
async function
|
|
37
|
+
async function re(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 de(e, t = void 0, s = void 0) {
|
|
|
50
50
|
s && s(i), console.error("Erreur : " + i);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
async function
|
|
53
|
+
async function ce(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,11 +65,11 @@ async function le(e, t = void 0, s = void 0) {
|
|
|
65
65
|
s && s(n), console.error("Erreur : " + n);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
async function
|
|
68
|
+
async function de(e, t = L) {
|
|
69
69
|
let s = b.now().year;
|
|
70
70
|
const n = e, i = [], c = (a) => {
|
|
71
|
-
for (let
|
|
72
|
-
i.push({ date:
|
|
71
|
+
for (let r in a)
|
|
72
|
+
i.push({ date: r, comment: a[r] });
|
|
73
73
|
};
|
|
74
74
|
for (let a = s; a <= s + 1; a++)
|
|
75
75
|
await fetch(
|
|
@@ -80,27 +80,27 @@ async function pe(e, t = E) {
|
|
|
80
80
|
Accept: "application/json"
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
).then((
|
|
84
|
-
c(
|
|
85
|
-
}).catch((
|
|
83
|
+
).then((r) => r.json()).then((r) => {
|
|
84
|
+
c(r);
|
|
85
|
+
}).catch((r) => console.error("Erreur : " + r));
|
|
86
86
|
return (() => {
|
|
87
87
|
const a = n.length === 0 ? {
|
|
88
88
|
events: []
|
|
89
89
|
} : n;
|
|
90
|
-
for (let
|
|
90
|
+
for (let r of i)
|
|
91
91
|
a.events.findIndex(
|
|
92
|
-
(l) => l.start === b.fromISO(
|
|
92
|
+
(l) => l.start === b.fromISO(r.date).toISODate() && l.name === "Férié : " + r.comment
|
|
93
93
|
) === -1 && a.events.push({
|
|
94
|
-
name: "Férié : " +
|
|
95
|
-
start: b.fromISO(
|
|
96
|
-
end: b.fromISO(
|
|
94
|
+
name: "Férié : " + r.comment,
|
|
95
|
+
start: b.fromISO(r.date).toISODate(),
|
|
96
|
+
end: b.fromISO(r.date).toISODate(),
|
|
97
97
|
color: t.b3BusinnessDays,
|
|
98
98
|
timed: !1
|
|
99
99
|
});
|
|
100
100
|
return a;
|
|
101
101
|
})();
|
|
102
102
|
}
|
|
103
|
-
async function
|
|
103
|
+
async function le(e, t, s = !0) {
|
|
104
104
|
const n = e.events.findIndex((i) => i.uuid === t.uuid);
|
|
105
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;
|
|
106
106
|
}
|
|
@@ -109,53 +109,54 @@ function f(e, t) {
|
|
|
109
109
|
s.authenticatedRequest(e, t);
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function pe(e, t, s) {
|
|
113
113
|
O(["DS/DataDragAndDrop/DataDragAndDrop"], (n) => {
|
|
114
114
|
n.draggable(e, { data: t, start: s });
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function ue(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:
|
|
121
|
+
widgetId: D.id,
|
|
122
122
|
filteringMode: "WithFilteringServices"
|
|
123
123
|
}), t !== void 0 && n.addEvent("onFilterSubjectsChange", t)), n.setSubjectsTags(e);
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function fe(e, t) {
|
|
127
127
|
O(["DS/DataDragAndDrop/DataDragAndDrop"], (s) => {
|
|
128
128
|
s.droppable(e, { drop: t });
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
async function J(e, t = void 0, s = void 0) {
|
|
132
132
|
O(
|
|
133
133
|
["DS/i3DXCompassServices/i3DXCompassServices"],
|
|
134
134
|
(n) => {
|
|
135
|
-
(!e || e === "") && (e =
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
135
|
+
(!e || e === "") && (e = D.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), t && t(
|
|
136
|
+
n.getPlatformServices({
|
|
137
|
+
platformId: e,
|
|
138
|
+
onComplete: t,
|
|
139
|
+
onFailure: s
|
|
140
|
+
})
|
|
141
|
+
);
|
|
140
142
|
}
|
|
141
|
-
)
|
|
143
|
+
);
|
|
142
144
|
}
|
|
143
|
-
function
|
|
145
|
+
function me() {
|
|
144
146
|
let e = {};
|
|
145
147
|
return O(["DS/PlatformAPI/PlatformAPI"], (t) => {
|
|
146
|
-
const s = t.getTenant(), n = t.getUser(), i = t.getAllApplicationConfigurations(), c = t.
|
|
148
|
+
const s = t.getTenant(), n = t.getUser(), i = t.getAllApplicationConfigurations(), c = t.getApplicationConfiguration(
|
|
147
149
|
"com.3ds.wp.passport.cors"
|
|
148
150
|
);
|
|
149
151
|
e = {
|
|
150
152
|
tenant: s,
|
|
151
153
|
user: n,
|
|
152
154
|
appsConfiguration: i,
|
|
153
|
-
|
|
154
|
-
appConf: r
|
|
155
|
+
appConf: c
|
|
155
156
|
};
|
|
156
157
|
}), console.log("%cRETOUR API :", "color:blue", e), e;
|
|
157
158
|
}
|
|
158
|
-
function
|
|
159
|
+
function ge(e, t, s) {
|
|
159
160
|
const n = {
|
|
160
161
|
base: `${e.space}`,
|
|
161
162
|
uri: "/resources/AppsMngt/api/custom/applications",
|
|
@@ -168,53 +169,53 @@ function he(e, t, s) {
|
|
|
168
169
|
"Content-Type": "application/json",
|
|
169
170
|
Accept: "application/json"
|
|
170
171
|
},
|
|
171
|
-
onComplete(c,
|
|
172
|
-
const
|
|
172
|
+
onComplete(c, o, a) {
|
|
173
|
+
const r = JSON.parse(c), d = r.data.map((l) => {
|
|
173
174
|
const p = l.attributes.name, u = l.id;
|
|
174
175
|
return { name: p, id: u };
|
|
175
176
|
});
|
|
176
|
-
t && t(d,
|
|
177
|
+
t && t(d, r);
|
|
177
178
|
},
|
|
178
|
-
onFailure(c,
|
|
179
|
+
onFailure(c, o) {
|
|
179
180
|
const a = c;
|
|
180
|
-
a.msg =
|
|
181
|
+
a.msg = o.errormsg, a.errCode = o.errorcode, s && s(a);
|
|
181
182
|
}
|
|
182
183
|
});
|
|
183
184
|
}
|
|
184
|
-
function
|
|
185
|
+
function he(e, t = void 0, s = void 0) {
|
|
185
186
|
let n = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
|
|
186
187
|
f(n, {
|
|
187
|
-
onComplete(i, c,
|
|
188
|
+
onComplete(i, c, o) {
|
|
188
189
|
const a = JSON.parse(i);
|
|
189
190
|
console.log("_AppMngt_get_users => ", a), t && t(a);
|
|
190
191
|
},
|
|
191
192
|
onFailure(i, c) {
|
|
192
|
-
const
|
|
193
|
-
|
|
193
|
+
const o = i;
|
|
194
|
+
o.msg = c.errormsg, o.errCode = c.errorcode, s && s(o);
|
|
194
195
|
}
|
|
195
196
|
});
|
|
196
197
|
}
|
|
197
|
-
function
|
|
198
|
+
function Se(e, t, s = void 0, n = void 0) {
|
|
198
199
|
let i = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${t}`;
|
|
199
200
|
f(i, {
|
|
200
|
-
onComplete(c,
|
|
201
|
-
const
|
|
202
|
-
s && s(
|
|
201
|
+
onComplete(c, o, a) {
|
|
202
|
+
const r = JSON.parse(c);
|
|
203
|
+
s && s(r);
|
|
203
204
|
},
|
|
204
|
-
onFailure(c,
|
|
205
|
+
onFailure(c, o) {
|
|
205
206
|
const a = c;
|
|
206
|
-
a.msg =
|
|
207
|
+
a.msg = o.errormsg, a.errCode = o.errorcode, n && n(a);
|
|
207
208
|
}
|
|
208
209
|
});
|
|
209
210
|
}
|
|
210
|
-
const
|
|
211
|
+
const U = {
|
|
211
212
|
"Content-Type": "application/json",
|
|
212
213
|
Accept: "application/json,text/javascript,*/*"
|
|
213
214
|
};
|
|
214
|
-
function
|
|
215
|
+
function ye(e, t, s = void 0, n = void 0) {
|
|
215
216
|
const { space: i, currentUser: c } = e, a = `${i}${{
|
|
216
217
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup"
|
|
217
|
-
}.URIUGr}`,
|
|
218
|
+
}.URIUGr}`, r = {
|
|
218
219
|
groups: [
|
|
219
220
|
{
|
|
220
221
|
title: t.title,
|
|
@@ -228,8 +229,8 @@ function _e(e, t, s = void 0, n = void 0) {
|
|
|
228
229
|
};
|
|
229
230
|
f(a, {
|
|
230
231
|
method: "POST",
|
|
231
|
-
headers:
|
|
232
|
-
data: JSON.stringify(
|
|
232
|
+
headers: U,
|
|
233
|
+
data: JSON.stringify(r),
|
|
233
234
|
onComplete(d) {
|
|
234
235
|
s && s(JSON.parse(d));
|
|
235
236
|
},
|
|
@@ -240,8 +241,8 @@ function _e(e, t, s = void 0, n = void 0) {
|
|
|
240
241
|
}
|
|
241
242
|
});
|
|
242
243
|
}
|
|
243
|
-
function
|
|
244
|
-
const { space: i, tenant: c } = e,
|
|
244
|
+
function _e(e, t, s = void 0, n = void 0) {
|
|
245
|
+
const { space: i, tenant: c } = e, o = i, a = `/3drdfpersist/v1/resources/${t}`, r = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${c}`, d = `${o}${a}${r}`;
|
|
245
246
|
f(d, {
|
|
246
247
|
opts: {
|
|
247
248
|
method: "GET",
|
|
@@ -259,13 +260,13 @@ function Te(e, t, s = void 0, n = void 0) {
|
|
|
259
260
|
}
|
|
260
261
|
});
|
|
261
262
|
}
|
|
262
|
-
function
|
|
263
|
-
const { space: n, tenant: i } = e, c = n,
|
|
263
|
+
function E(e, t = void 0, s = void 0) {
|
|
264
|
+
const { space: n, tenant: i } = e, c = n, o = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${i}`, r = {
|
|
264
265
|
method: "GET",
|
|
265
266
|
Accept: "application/json,*/*,test/javascript"
|
|
266
|
-
}, d = `${c}${
|
|
267
|
+
}, d = `${c}${o}${a}`;
|
|
267
268
|
f(d, {
|
|
268
|
-
OPTsH:
|
|
269
|
+
OPTsH: r,
|
|
269
270
|
onComplete(l) {
|
|
270
271
|
t && t(JSON.parse(l));
|
|
271
272
|
},
|
|
@@ -287,7 +288,7 @@ function we(e, t = void 0, s = void 0) {
|
|
|
287
288
|
const p = JSON.parse(l), u = {}, m = p.groups.filter((g) => g.uri.startsWith("uuid:"));
|
|
288
289
|
if (i && Object.keys(i).length > 0) {
|
|
289
290
|
const g = m.filter((y) => y.owner === i.email), h = m.filter((y) => y.members.includes(i.email)), S = g.concat(h);
|
|
290
|
-
u.iam = S, u.UG = m, u.iamMember = h,
|
|
291
|
+
u.iam = S, u.UG = m, u.iamMember = h, E(
|
|
291
292
|
e,
|
|
292
293
|
(y) => {
|
|
293
294
|
u.rules = y, t && t(u);
|
|
@@ -306,24 +307,24 @@ function we(e, t = void 0, s = void 0) {
|
|
|
306
307
|
console.log(l);
|
|
307
308
|
}
|
|
308
309
|
}
|
|
309
|
-
function
|
|
310
|
+
function Te(e, t) {
|
|
310
311
|
const { space: s } = e, i = `${s}/3drdfpersist/resources/v1/usersgroup/${t}`;
|
|
311
312
|
f(i, {
|
|
312
313
|
method: "DELETE"
|
|
313
314
|
});
|
|
314
315
|
}
|
|
315
|
-
function
|
|
316
|
-
const { space: c, tenant:
|
|
316
|
+
function Ce(e, t, s, n = void 0, i = void 0) {
|
|
317
|
+
const { space: c, tenant: o } = e, a = {
|
|
317
318
|
URITI: "/3drdfpersist/resources/v1/template-instances",
|
|
318
319
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup",
|
|
319
320
|
nextURICh: "/characteristics",
|
|
320
321
|
nextURIGr: "/group",
|
|
321
322
|
nexURImem: "/members",
|
|
322
323
|
OPTsTI: "?$mask=dsaccess:Mask.GroupUI.Properties",
|
|
323
|
-
OPTsTenant: `tenant=dstenant:${
|
|
324
|
-
},
|
|
324
|
+
OPTsTenant: `tenant=dstenant:${o}`
|
|
325
|
+
}, r = s, d = `${c}${a.URIUGr}/${t}`, l = JSON.stringify(r);
|
|
325
326
|
f(d, {
|
|
326
|
-
headers:
|
|
327
|
+
headers: U,
|
|
327
328
|
method: "PATCH",
|
|
328
329
|
data: l,
|
|
329
330
|
type: "json",
|
|
@@ -335,11 +336,11 @@ function Oe(e, t, s, n = void 0, i = void 0) {
|
|
|
335
336
|
}
|
|
336
337
|
});
|
|
337
338
|
}
|
|
338
|
-
function
|
|
339
|
+
function Oe(e, t, s, n = void 0, i = void 0) {
|
|
339
340
|
const { space: c } = e, a = `${c}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
|
|
340
341
|
f(a, {
|
|
341
342
|
method: "PATCH",
|
|
342
|
-
headers:
|
|
343
|
+
headers: U,
|
|
343
344
|
data: JSON.stringify(s),
|
|
344
345
|
type: "json",
|
|
345
346
|
onComplete(d) {
|
|
@@ -350,9 +351,9 @@ function Ne(e, t, s, n = void 0, i = void 0) {
|
|
|
350
351
|
}
|
|
351
352
|
});
|
|
352
353
|
}
|
|
353
|
-
function
|
|
354
|
-
const { space: i } = e,
|
|
355
|
-
f(
|
|
354
|
+
function Ne(e, t, s = void 0, n = void 0) {
|
|
355
|
+
const { space: i } = e, o = `${i}/3drdfpersist/resources/v1/usersgroup/${t}/sharing`;
|
|
356
|
+
f(o, {
|
|
356
357
|
opts: {
|
|
357
358
|
method: "GET",
|
|
358
359
|
headers: {
|
|
@@ -368,7 +369,7 @@ function be(e, t, s = void 0, n = void 0) {
|
|
|
368
369
|
}
|
|
369
370
|
});
|
|
370
371
|
}
|
|
371
|
-
async function
|
|
372
|
+
async function G(e, t = void 0, s = void 0, n = void 0) {
|
|
372
373
|
const i = e.space;
|
|
373
374
|
if (t === void 0) {
|
|
374
375
|
console.log("Le paramètre docid est obligatoire");
|
|
@@ -376,25 +377,25 @@ async function K(e, t = void 0, s = void 0, n = void 0) {
|
|
|
376
377
|
}
|
|
377
378
|
const c = i + `/resources/v1/modeler/documents/${t}`;
|
|
378
379
|
f(c, {
|
|
379
|
-
onComplete(
|
|
380
|
-
const d = JSON.parse(
|
|
380
|
+
onComplete(o, a, r) {
|
|
381
|
+
const d = JSON.parse(o);
|
|
381
382
|
s && s(d);
|
|
382
383
|
},
|
|
383
|
-
onFailure(
|
|
384
|
-
n && n(
|
|
384
|
+
onFailure(o) {
|
|
385
|
+
n && n(o);
|
|
385
386
|
}
|
|
386
387
|
});
|
|
387
388
|
}
|
|
388
|
-
function
|
|
389
|
-
if (
|
|
390
|
-
let
|
|
391
|
-
f(
|
|
392
|
-
onComplete(
|
|
393
|
-
const
|
|
394
|
-
|
|
389
|
+
function F(e, t = void 0, s = void 0) {
|
|
390
|
+
if (docid !== null) {
|
|
391
|
+
let n = `${e.space}/resources/v1/modeler/documents/${e.docid}`;
|
|
392
|
+
f(n, {
|
|
393
|
+
onComplete(i, c, o) {
|
|
394
|
+
const a = JSON.parse(i);
|
|
395
|
+
e.token = a, t && t(e);
|
|
395
396
|
},
|
|
396
|
-
onFailure(
|
|
397
|
-
|
|
397
|
+
onFailure(i) {
|
|
398
|
+
s && s(i);
|
|
398
399
|
}
|
|
399
400
|
});
|
|
400
401
|
} else
|
|
@@ -404,20 +405,20 @@ function C(e, t = void 0, s = void 0) {
|
|
|
404
405
|
if (e.space) {
|
|
405
406
|
const n = e.space + "/resources/v1/application/CSRF";
|
|
406
407
|
f(n, {
|
|
407
|
-
onComplete(i, c,
|
|
408
|
+
onComplete(i, c, o) {
|
|
408
409
|
const a = JSON.parse(i);
|
|
409
410
|
t && t(a.csrf.value);
|
|
410
411
|
},
|
|
411
|
-
onFailure(i) {
|
|
412
|
-
s && s(i);
|
|
412
|
+
onFailure(i, c, o) {
|
|
413
|
+
s && s({ response: i, headers: c, xhr: o });
|
|
413
414
|
}
|
|
414
415
|
});
|
|
415
416
|
} else
|
|
416
417
|
s && s("ERROR : url du 3DSpace non défini.");
|
|
417
418
|
}
|
|
418
|
-
function
|
|
419
|
+
function $(e, t, s = void 0, n = void 0) {
|
|
419
420
|
let i = e.space + `/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
|
|
420
|
-
|
|
421
|
+
F(
|
|
421
422
|
e,
|
|
422
423
|
t,
|
|
423
424
|
(c) => {
|
|
@@ -426,48 +427,47 @@ function A(e, t, s = void 0, n = void 0) {
|
|
|
426
427
|
headers: {
|
|
427
428
|
ENO_CSRF_TOKEN: c.csrf.value
|
|
428
429
|
},
|
|
429
|
-
onComplete(
|
|
430
|
-
let a = JSON.parse(
|
|
430
|
+
onComplete(o) {
|
|
431
|
+
let a = JSON.parse(o);
|
|
431
432
|
if (a.success === !0)
|
|
432
433
|
try {
|
|
433
|
-
const
|
|
434
|
-
s && s(
|
|
435
|
-
} catch (
|
|
436
|
-
n && n(
|
|
434
|
+
const r = a.data[0].dataelements.ticketURL;
|
|
435
|
+
s && s(r);
|
|
436
|
+
} catch (r) {
|
|
437
|
+
n && n(r);
|
|
437
438
|
}
|
|
438
439
|
},
|
|
439
|
-
onFailure(
|
|
440
|
-
console.log("☠️ error => ",
|
|
440
|
+
onFailure(o, a) {
|
|
441
|
+
console.log("☠️ error => ", o, a), n && n(o, a);
|
|
441
442
|
}
|
|
442
443
|
});
|
|
443
|
-
}
|
|
444
|
-
n
|
|
444
|
+
}
|
|
445
445
|
);
|
|
446
446
|
}
|
|
447
|
-
function
|
|
447
|
+
function be(e, t, s, n = void 0, i = void 0) {
|
|
448
448
|
const c = `${e.space}/resources/v1/modeler/documents/${t}/files/DownloadTicket`;
|
|
449
449
|
f(c, {
|
|
450
450
|
method: "PUT",
|
|
451
451
|
headers: {
|
|
452
452
|
ENO_CSRF_TOKEN: s
|
|
453
453
|
},
|
|
454
|
-
onComplete(
|
|
455
|
-
let a = JSON.parse(
|
|
454
|
+
onComplete(o) {
|
|
455
|
+
let a = JSON.parse(o);
|
|
456
456
|
if (a.success === !0)
|
|
457
457
|
try {
|
|
458
|
-
const
|
|
459
|
-
n && n(
|
|
460
|
-
} catch (
|
|
461
|
-
i && i(
|
|
458
|
+
const r = a.data[0].dataelements.ticketURL;
|
|
459
|
+
n && n(r);
|
|
460
|
+
} catch (r) {
|
|
461
|
+
i && i(r);
|
|
462
462
|
}
|
|
463
463
|
},
|
|
464
|
-
onFailure(
|
|
465
|
-
i && i(
|
|
464
|
+
onFailure(o) {
|
|
465
|
+
i && i(o);
|
|
466
466
|
}
|
|
467
467
|
});
|
|
468
468
|
}
|
|
469
|
-
function
|
|
470
|
-
|
|
469
|
+
function K(e, t, s, n, i, c = void 0, o = void 0) {
|
|
470
|
+
F(
|
|
471
471
|
e,
|
|
472
472
|
t,
|
|
473
473
|
(a) => {
|
|
@@ -479,15 +479,14 @@ function V(e, t, s, n, i, c = void 0, r = void 0) {
|
|
|
479
479
|
i,
|
|
480
480
|
a.csrf.value,
|
|
481
481
|
c,
|
|
482
|
-
|
|
482
|
+
o
|
|
483
483
|
);
|
|
484
|
-
}
|
|
485
|
-
r
|
|
484
|
+
}
|
|
486
485
|
);
|
|
487
486
|
}
|
|
488
|
-
function W(e, t, s, n, i, c,
|
|
489
|
-
const
|
|
490
|
-
f(
|
|
487
|
+
function W(e, t, s, n, i, c, o = void 0, a = void 0) {
|
|
488
|
+
const r = e.space + `/resources/v1/modeler/documents/${t}/files/CheckinTicket`;
|
|
489
|
+
f(r, {
|
|
491
490
|
method: "PUT",
|
|
492
491
|
headers: {
|
|
493
492
|
ENO_CSRF_TOKEN: c
|
|
@@ -524,7 +523,7 @@ function W(e, t, s, n, i, c, r = void 0, a = void 0) {
|
|
|
524
523
|
}),
|
|
525
524
|
type: "json",
|
|
526
525
|
onComplete(_) {
|
|
527
|
-
|
|
526
|
+
o && o(_);
|
|
528
527
|
},
|
|
529
528
|
onFailure(_) {
|
|
530
529
|
a && a(_);
|
|
@@ -541,13 +540,13 @@ function W(e, t, s, n, i, c, r = void 0, a = void 0) {
|
|
|
541
540
|
});
|
|
542
541
|
}
|
|
543
542
|
async function Fe(e, t, s, n, i = void 0, c = void 0) {
|
|
544
|
-
const
|
|
543
|
+
const o = e.space, a = e.token, r = e.ctx, d = new FormData(), l = new Blob([JSON.stringify(t)], {
|
|
545
544
|
type: "text/plain"
|
|
546
545
|
}), p = {
|
|
547
|
-
url_Ticket: `${
|
|
548
|
-
url_Post: `${
|
|
546
|
+
url_Ticket: `${o}/resources/v1/modeler/documents/files/CheckinTicket`,
|
|
547
|
+
url_Post: `${o}/resources/v1/modeler/documents/?SecurityContext=ctx::${r}`
|
|
549
548
|
};
|
|
550
|
-
if (!
|
|
549
|
+
if (!o && o !== "") {
|
|
551
550
|
console.log("le store._3DSpace est vide");
|
|
552
551
|
return;
|
|
553
552
|
}
|
|
@@ -562,9 +561,9 @@ async function Fe(e, t, s, n, i = void 0, c = void 0) {
|
|
|
562
561
|
const S = {
|
|
563
562
|
method: "POST",
|
|
564
563
|
data: d,
|
|
565
|
-
onComplete(
|
|
566
|
-
if (
|
|
567
|
-
const
|
|
564
|
+
onComplete(T) {
|
|
565
|
+
if (r !== "" && a !== "") {
|
|
566
|
+
const k = {
|
|
568
567
|
method: "POST",
|
|
569
568
|
headers: {
|
|
570
569
|
ENO_CSRF_TOKEN: a,
|
|
@@ -585,12 +584,12 @@ async function Fe(e, t, s, n, i = void 0, c = void 0) {
|
|
|
585
584
|
{
|
|
586
585
|
dataelements: {
|
|
587
586
|
title: `${s}.json`,
|
|
588
|
-
receipt:
|
|
587
|
+
receipt: T
|
|
589
588
|
}
|
|
590
589
|
}
|
|
591
590
|
]
|
|
592
591
|
},
|
|
593
|
-
tempId:
|
|
592
|
+
tempId: j()
|
|
594
593
|
}
|
|
595
594
|
]
|
|
596
595
|
}),
|
|
@@ -599,32 +598,32 @@ async function Fe(e, t, s, n, i = void 0, c = void 0) {
|
|
|
599
598
|
onComplete: y,
|
|
600
599
|
onFailure: _
|
|
601
600
|
};
|
|
602
|
-
|
|
601
|
+
r !== "" && f(p.url_Post, k);
|
|
603
602
|
} else
|
|
604
603
|
console.warn("le store est vide");
|
|
605
604
|
},
|
|
606
605
|
onFailure: _
|
|
607
606
|
};
|
|
608
|
-
function y(
|
|
609
|
-
console.log("Success -- response ",
|
|
607
|
+
function y(T) {
|
|
608
|
+
console.log("Success -- response ", T.data[0]), i && i(T);
|
|
610
609
|
}
|
|
611
|
-
function _(
|
|
612
|
-
console.log("Erreur -- response ",
|
|
613
|
-
headers `,
|
|
610
|
+
function _(T, k) {
|
|
611
|
+
console.log("Erreur -- response ", T, `
|
|
612
|
+
headers `, k), c && c(T);
|
|
614
613
|
}
|
|
615
614
|
f(h.ticketURL, S);
|
|
616
615
|
}
|
|
617
616
|
});
|
|
618
617
|
}
|
|
619
618
|
function N(e, t = void 0, s = void 0, n = void 0, i = void 0, c = void 0) {
|
|
620
|
-
const
|
|
621
|
-
f(
|
|
619
|
+
const o = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
|
|
620
|
+
f(o, {
|
|
622
621
|
method: "GET",
|
|
623
622
|
onComplete(a) {
|
|
624
|
-
const
|
|
623
|
+
const r = JSON.parse(a);
|
|
625
624
|
let d = "", l, p, u;
|
|
626
625
|
if (t) {
|
|
627
|
-
let m =
|
|
626
|
+
let m = r.collabspaces.find((g) => g.title === t);
|
|
628
627
|
if (m) {
|
|
629
628
|
l = t;
|
|
630
629
|
let g = m.couples;
|
|
@@ -655,20 +654,20 @@ function N(e, t = void 0, s = void 0, n = void 0, i = void 0, c = void 0) {
|
|
|
655
654
|
}));
|
|
656
655
|
}
|
|
657
656
|
}
|
|
658
|
-
l && p && u ? (d = u + "." + p + "." + l, i(d)) :
|
|
657
|
+
l && p && u ? (d = u + "." + p + "." + l, i(d)) : r.preferredcredentials ? (d = r.preferredcredentials.role.name + "." + r.preferredcredentials.organization.title + "." + r.preferredcredentials.collabspace.title, i(d)) : c && (d = u + "." + p + "." + l, c(d));
|
|
659
658
|
},
|
|
660
659
|
onFailure(a) {
|
|
661
660
|
console.log("Erreur de récupération du contexte de sécurité. => ", a);
|
|
662
661
|
}
|
|
663
662
|
});
|
|
664
663
|
}
|
|
665
|
-
async function
|
|
664
|
+
async function v(e, t, s = void 0, n = void 0, i = void 0) {
|
|
666
665
|
return t === void 0 || t === "" ? "Le paramètre objectId est obligatoire" : new Promise((c) => {
|
|
667
|
-
(e.space === "" || !e.space) &&
|
|
666
|
+
(e.space === "" || !e.space) && J(), t !== void 0 && t !== "" && t !== null && $(
|
|
668
667
|
e.space,
|
|
669
668
|
t,
|
|
670
|
-
(
|
|
671
|
-
f(
|
|
669
|
+
(o) => {
|
|
670
|
+
f(o, {
|
|
672
671
|
headers: {
|
|
673
672
|
ENO_CSRF_TOKEN: e.token
|
|
674
673
|
},
|
|
@@ -680,8 +679,8 @@ async function I(e, t, s = void 0, n = void 0, i = void 0) {
|
|
|
680
679
|
}
|
|
681
680
|
});
|
|
682
681
|
},
|
|
683
|
-
(
|
|
684
|
-
n && n(
|
|
682
|
+
(o) => {
|
|
683
|
+
n && n(o), console.log("*_3dspace_download_doc / error file URL *", o);
|
|
685
684
|
}
|
|
686
685
|
);
|
|
687
686
|
});
|
|
@@ -689,31 +688,31 @@ async function I(e, t, s = void 0, n = void 0, i = void 0) {
|
|
|
689
688
|
async function X(e, t, s = void 0, n = void 0) {
|
|
690
689
|
let i = [];
|
|
691
690
|
for (let a = 0; a < t.length; a += 80) {
|
|
692
|
-
const
|
|
693
|
-
i.push(
|
|
691
|
+
const r = t.slice(a, a + 80);
|
|
692
|
+
i.push(r);
|
|
694
693
|
}
|
|
695
|
-
const
|
|
696
|
-
|
|
694
|
+
const o = (a) => {
|
|
695
|
+
V(
|
|
697
696
|
e,
|
|
698
697
|
i[a],
|
|
699
698
|
() => {
|
|
700
|
-
a++, a < i.length &&
|
|
699
|
+
a++, a < i.length && o(a);
|
|
701
700
|
},
|
|
702
|
-
(
|
|
703
|
-
s && s(
|
|
701
|
+
(r) => {
|
|
702
|
+
s && s(r);
|
|
704
703
|
}
|
|
705
704
|
);
|
|
706
705
|
};
|
|
707
|
-
|
|
706
|
+
o(0);
|
|
708
707
|
}
|
|
709
|
-
function
|
|
708
|
+
function V(e, t, s = void 0, n = void 0, i = void 0) {
|
|
710
709
|
const c = [];
|
|
711
|
-
t.forEach((
|
|
710
|
+
t.forEach((r) => {
|
|
712
711
|
c.push({
|
|
713
|
-
id:
|
|
712
|
+
id: r
|
|
714
713
|
});
|
|
715
714
|
});
|
|
716
|
-
let
|
|
715
|
+
let o = JSON.stringify({
|
|
717
716
|
csrf: {
|
|
718
717
|
name: "ENO_CSRF_TOKEN",
|
|
719
718
|
value: e.token
|
|
@@ -723,11 +722,11 @@ function Y(e, t, s = void 0, n = void 0, i = void 0) {
|
|
|
723
722
|
const a = `${e.space}/resources/v1/modeler/documents/DownloadTicket?tenant=${e.tenant}&e6w-lang=fr&e6w-timezone=-120`;
|
|
724
723
|
f(a, {
|
|
725
724
|
method: "PUT",
|
|
726
|
-
data:
|
|
725
|
+
data: o,
|
|
727
726
|
type: "json",
|
|
728
|
-
onComplete(
|
|
729
|
-
const d =
|
|
730
|
-
|
|
727
|
+
onComplete(r) {
|
|
728
|
+
const d = r.data;
|
|
729
|
+
r.success === !0 && (s && s(), d.forEach((l) => {
|
|
731
730
|
try {
|
|
732
731
|
const p = l.dataelements.fileName, u = l.dataelements.ticketURL;
|
|
733
732
|
f(u, {
|
|
@@ -747,12 +746,12 @@ function Y(e, t, s = void 0, n = void 0, i = void 0) {
|
|
|
747
746
|
}
|
|
748
747
|
}));
|
|
749
748
|
},
|
|
750
|
-
onFailure(
|
|
751
|
-
console.log(
|
|
749
|
+
onFailure(r) {
|
|
750
|
+
console.log(r), i && i(r);
|
|
752
751
|
}
|
|
753
752
|
});
|
|
754
753
|
}
|
|
755
|
-
function
|
|
754
|
+
function ke(e, t, s = void 0, n = void 0) {
|
|
756
755
|
return new Promise((i) => {
|
|
757
756
|
if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
|
|
758
757
|
const c = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
|
|
@@ -766,7 +765,7 @@ function Ue(e, t, s = void 0, n = void 0) {
|
|
|
766
765
|
console.log("onError =>", a);
|
|
767
766
|
}
|
|
768
767
|
);
|
|
769
|
-
let
|
|
768
|
+
let o = {
|
|
770
769
|
method: "POST",
|
|
771
770
|
headers: {
|
|
772
771
|
SecurityContext: "ctx::" + e.ctx,
|
|
@@ -789,22 +788,22 @@ function Ue(e, t, s = void 0, n = void 0) {
|
|
|
789
788
|
n && n(a);
|
|
790
789
|
}
|
|
791
790
|
};
|
|
792
|
-
f(c,
|
|
791
|
+
f(c, o);
|
|
793
792
|
}
|
|
794
793
|
});
|
|
795
794
|
}
|
|
796
|
-
function
|
|
795
|
+
function Ue(e, t, s, n = void 0, i = void 0) {
|
|
797
796
|
return new Promise((c) => {
|
|
798
797
|
if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
|
|
799
|
-
const
|
|
798
|
+
const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
|
|
800
799
|
N(
|
|
801
800
|
e.space,
|
|
802
801
|
"ESPACE COMMUN",
|
|
803
802
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
804
803
|
void 0,
|
|
805
|
-
(
|
|
806
|
-
(
|
|
807
|
-
console.log("onError =>",
|
|
804
|
+
(r) => e.ctx = r,
|
|
805
|
+
(r) => {
|
|
806
|
+
console.log("onError =>", r);
|
|
808
807
|
}
|
|
809
808
|
);
|
|
810
809
|
let a = {
|
|
@@ -824,18 +823,18 @@ function $e(e, t, s, n = void 0, i = void 0) {
|
|
|
824
823
|
]
|
|
825
824
|
}),
|
|
826
825
|
type: "json",
|
|
827
|
-
onComplete(
|
|
828
|
-
n && n(
|
|
826
|
+
onComplete(r) {
|
|
827
|
+
n && n(r);
|
|
829
828
|
},
|
|
830
|
-
onFailure(
|
|
831
|
-
i && i(
|
|
829
|
+
onFailure(r) {
|
|
830
|
+
i && i(r);
|
|
832
831
|
}
|
|
833
832
|
};
|
|
834
|
-
f(
|
|
833
|
+
f(o, a);
|
|
835
834
|
}
|
|
836
835
|
});
|
|
837
836
|
}
|
|
838
|
-
function
|
|
837
|
+
function $e(e, t, s = void 0, n = void 0) {
|
|
839
838
|
return new Promise((i) => {
|
|
840
839
|
if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
|
|
841
840
|
const c = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
|
|
@@ -849,7 +848,7 @@ function Ae(e, t, s = void 0, n = void 0) {
|
|
|
849
848
|
console.log("onError =>", a);
|
|
850
849
|
}
|
|
851
850
|
);
|
|
852
|
-
let
|
|
851
|
+
let o = {
|
|
853
852
|
method: "POST",
|
|
854
853
|
headers: {
|
|
855
854
|
securitycontext: "ctx::" + e.ctx,
|
|
@@ -872,11 +871,11 @@ function Ae(e, t, s = void 0, n = void 0) {
|
|
|
872
871
|
n && n(a);
|
|
873
872
|
}
|
|
874
873
|
};
|
|
875
|
-
f(c,
|
|
874
|
+
f(c, o);
|
|
876
875
|
}
|
|
877
876
|
});
|
|
878
877
|
}
|
|
879
|
-
function
|
|
878
|
+
function Ae(e, t, s = void 0, n = void 0) {
|
|
880
879
|
return new Promise((i) => {
|
|
881
880
|
if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
|
|
882
881
|
const c = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
|
|
@@ -890,7 +889,7 @@ function De(e, t, s = void 0, n = void 0) {
|
|
|
890
889
|
console.log("onError =>", a);
|
|
891
890
|
}
|
|
892
891
|
);
|
|
893
|
-
let
|
|
892
|
+
let o = {
|
|
894
893
|
method: "POST",
|
|
895
894
|
headers: {
|
|
896
895
|
SecurityContext: "ctx::" + e.ctx,
|
|
@@ -919,22 +918,22 @@ function De(e, t, s = void 0, n = void 0) {
|
|
|
919
918
|
n && n(a);
|
|
920
919
|
}
|
|
921
920
|
};
|
|
922
|
-
f(c,
|
|
921
|
+
f(c, o);
|
|
923
922
|
}
|
|
924
923
|
});
|
|
925
924
|
}
|
|
926
925
|
function Re(e, t, s, n = void 0, i = void 0) {
|
|
927
926
|
return new Promise((c) => {
|
|
928
927
|
if (e.token === "" && C(e), t !== void 0 && t !== "" && t !== null) {
|
|
929
|
-
const
|
|
928
|
+
const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
|
|
930
929
|
N(
|
|
931
930
|
e.space,
|
|
932
931
|
"ESPACE COMMUN",
|
|
933
932
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
934
933
|
void 0,
|
|
935
|
-
(
|
|
936
|
-
(
|
|
937
|
-
console.log("onError =>",
|
|
934
|
+
(r) => e.ctx = r,
|
|
935
|
+
(r) => {
|
|
936
|
+
console.log("onError =>", r);
|
|
938
937
|
}
|
|
939
938
|
);
|
|
940
939
|
let a = {
|
|
@@ -959,185 +958,30 @@ function Re(e, t, s, n = void 0, i = void 0) {
|
|
|
959
958
|
notificationTimeout: 600
|
|
960
959
|
}),
|
|
961
960
|
type: "json",
|
|
962
|
-
onComplete(
|
|
963
|
-
n && n(
|
|
961
|
+
onComplete(r) {
|
|
962
|
+
n && n(r);
|
|
964
963
|
},
|
|
965
|
-
onFailure(
|
|
966
|
-
i && i(
|
|
964
|
+
onFailure(r) {
|
|
965
|
+
i && i(r);
|
|
967
966
|
}
|
|
968
967
|
};
|
|
969
|
-
f(
|
|
968
|
+
f(o, a);
|
|
970
969
|
}
|
|
971
970
|
});
|
|
972
971
|
}
|
|
973
972
|
//!SECTION
|
|
974
|
-
function
|
|
975
|
-
const n = e.space + "/api/index/tk";
|
|
976
|
-
f(n, {
|
|
977
|
-
onComplete(i, c, r) {
|
|
978
|
-
const a = JSON.parse(i);
|
|
979
|
-
t && (e.token = a?.result?.ServerToken, t(a));
|
|
980
|
-
},
|
|
981
|
-
onFailure(i) {
|
|
982
|
-
s && s(i);
|
|
983
|
-
}
|
|
984
|
-
});
|
|
985
|
-
}
|
|
986
|
-
function ve(e, t = void 0, s = void 0) {
|
|
987
|
-
const n = `${e.space}/api/exalead/whatsnew`, i = {
|
|
988
|
-
params: {
|
|
989
|
-
community_id: null,
|
|
990
|
-
hash_key: null,
|
|
991
|
-
legacyFormat: !1,
|
|
992
|
-
nresults: 1,
|
|
993
|
-
query: "#all",
|
|
994
|
-
start: 0
|
|
995
|
-
}
|
|
996
|
-
};
|
|
997
|
-
T(e, (c) => {
|
|
998
|
-
f(n, {
|
|
999
|
-
method: "POST",
|
|
1000
|
-
headers: {
|
|
1001
|
-
"X-DS-SWYM-CSRFTOKEN": c.result.ServerToken,
|
|
1002
|
-
"Content-type": "application/json;charset=UTF-8",
|
|
1003
|
-
Accept: "application/json"
|
|
1004
|
-
},
|
|
1005
|
-
data: JSON.stringify(i),
|
|
1006
|
-
type: "json",
|
|
1007
|
-
onComplete(r, a) {
|
|
1008
|
-
t && t(r, a);
|
|
1009
|
-
},
|
|
1010
|
-
onFailure(r, a) {
|
|
1011
|
-
s && s(r, a);
|
|
1012
|
-
}
|
|
1013
|
-
});
|
|
1014
|
-
});
|
|
1015
|
-
}
|
|
1016
|
-
function je(e, t = void 0, s = void 0) {
|
|
1017
|
-
const n = `${e.space}/api/Recommendation/getpeoplefamiliartocurrentuser`, i = {
|
|
1018
|
-
params: {
|
|
1019
|
-
idsToFilterArr: [],
|
|
1020
|
-
mode: "offline",
|
|
1021
|
-
limit: 30,
|
|
1022
|
-
itemType: "User",
|
|
1023
|
-
maxNbOfCommonElements: "5"
|
|
1024
|
-
}
|
|
1025
|
-
};
|
|
1026
|
-
T(e, (c) => {
|
|
1027
|
-
f(n, {
|
|
1028
|
-
method: "POST",
|
|
1029
|
-
headers: {
|
|
1030
|
-
"X-DS-SWYM-CSRFTOKEN": c.result.ServerToken,
|
|
1031
|
-
"Content-type": "application/json;charset=UTF-8",
|
|
1032
|
-
Accept: "application/json"
|
|
1033
|
-
},
|
|
1034
|
-
data: JSON.stringify(i),
|
|
1035
|
-
type: "json",
|
|
1036
|
-
onComplete(r, a) {
|
|
1037
|
-
const o = r.result.hits.map((d) => ({ login: d.login, fullName: d.name }));
|
|
1038
|
-
t && t(o, r);
|
|
1039
|
-
},
|
|
1040
|
-
onFailure(r, a) {
|
|
1041
|
-
s && s(r, a);
|
|
1042
|
-
}
|
|
1043
|
-
});
|
|
1044
|
-
});
|
|
1045
|
-
}
|
|
1046
|
-
function B(e, t = void 0, s = void 0) {
|
|
1047
|
-
const n = e.space + "/api/user/getcurrent/";
|
|
1048
|
-
T(
|
|
1049
|
-
e,
|
|
1050
|
-
(i) => {
|
|
1051
|
-
f(n, {
|
|
1052
|
-
method: "GET",
|
|
1053
|
-
headers: { "X-DS-SWYM-CSRFTOKEN": i.result.ServerToken },
|
|
1054
|
-
onComplete(c, r, a) {
|
|
1055
|
-
const o = JSON.parse(c);
|
|
1056
|
-
t && t(o.result);
|
|
1057
|
-
},
|
|
1058
|
-
onFailure(c, r, a) {
|
|
1059
|
-
s && s({ response: c, headers: r, xhr: a });
|
|
1060
|
-
}
|
|
1061
|
-
});
|
|
1062
|
-
},
|
|
1063
|
-
s
|
|
1064
|
-
);
|
|
1065
|
-
}
|
|
1066
|
-
function Ie(e, t, s = void 0, n = void 0) {
|
|
1067
|
-
const i = e.space + "/api/user/find/login/" + t;
|
|
1068
|
-
T(
|
|
1069
|
-
e,
|
|
1070
|
-
(c) => {
|
|
1071
|
-
f(i, {
|
|
1072
|
-
method: "GET",
|
|
1073
|
-
headers: { "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken },
|
|
1074
|
-
onComplete(r, a, o) {
|
|
1075
|
-
const d = JSON.parse(r);
|
|
1076
|
-
s && s(d);
|
|
1077
|
-
},
|
|
1078
|
-
onFailure(r) {
|
|
1079
|
-
n && n(r);
|
|
1080
|
-
}
|
|
1081
|
-
});
|
|
1082
|
-
},
|
|
1083
|
-
n
|
|
1084
|
-
);
|
|
1085
|
-
}
|
|
1086
|
-
function Pe(e, t = void 0, s = void 0) {
|
|
1087
|
-
j(
|
|
1088
|
-
null,
|
|
1089
|
-
(n) => {
|
|
1090
|
-
let i = [], c = [], r, a = {};
|
|
1091
|
-
for (let o of n)
|
|
1092
|
-
"3DSpace" in o && (c.push({
|
|
1093
|
-
label: `${o.displayName} ( ${o.platformId} )`,
|
|
1094
|
-
value: `${c.length}`
|
|
1095
|
-
}), c.sort(), i.push(o));
|
|
1096
|
-
for (let [o, d] of i.entries())
|
|
1097
|
-
d.platformId === e.tenant && (a = d, r = o);
|
|
1098
|
-
U.addPreference({
|
|
1099
|
-
name: "_CurrentTenantID_",
|
|
1100
|
-
type: "list",
|
|
1101
|
-
label: "Tenant",
|
|
1102
|
-
defaultValue: r,
|
|
1103
|
-
options: c
|
|
1104
|
-
}), Object.keys(a).length > 0, N(
|
|
1105
|
-
e,
|
|
1106
|
-
"ESPACE COMMUN",
|
|
1107
|
-
// "B3-R&D" || "ESPACE COMMUN",
|
|
1108
|
-
["VPLMProjectLeader", "VPLMCreator"],
|
|
1109
|
-
void 0,
|
|
1110
|
-
(o) => e.ctx = o,
|
|
1111
|
-
(o) => {
|
|
1112
|
-
console.log("on Error CTX =>", o);
|
|
1113
|
-
}
|
|
1114
|
-
), B(
|
|
1115
|
-
e,
|
|
1116
|
-
(o) => {
|
|
1117
|
-
t && t({ reponse: o, activeSpace: a, credentials: e });
|
|
1118
|
-
},
|
|
1119
|
-
(o) => {
|
|
1120
|
-
s && s(o);
|
|
1121
|
-
}
|
|
1122
|
-
);
|
|
1123
|
-
},
|
|
1124
|
-
(n) => {
|
|
1125
|
-
console.log("** _getPlatformServices Erreur **", n);
|
|
1126
|
-
}
|
|
1127
|
-
);
|
|
1128
|
-
}
|
|
1129
|
-
async function xe(e, t, s) {
|
|
973
|
+
async function De(e, t, s) {
|
|
1130
974
|
const n = `${e.space}/resources/v1/application/CSRF`;
|
|
1131
975
|
f(n, {
|
|
1132
976
|
onComplete(i) {
|
|
1133
977
|
i = JSON.parse(i), t && t(i.csrf);
|
|
1134
978
|
},
|
|
1135
|
-
onFailure(i) {
|
|
1136
|
-
s && s(i);
|
|
979
|
+
onFailure(i, c, o) {
|
|
980
|
+
s && s({ error: i, headers: c, xhr: o });
|
|
1137
981
|
}
|
|
1138
982
|
});
|
|
1139
983
|
}
|
|
1140
|
-
function
|
|
984
|
+
function je(e, t = void 0, s = void 0) {
|
|
1141
985
|
const n = {
|
|
1142
986
|
base: `${e.space}`,
|
|
1143
987
|
uri: "/resources/bps/cspaces",
|
|
@@ -1149,17 +993,17 @@ function Me(e, t = void 0, s = void 0) {
|
|
|
1149
993
|
Accept: "application/json,text/javascript,*/*",
|
|
1150
994
|
"Content-Type": "application/ds-json"
|
|
1151
995
|
},
|
|
1152
|
-
onComplete(c,
|
|
996
|
+
onComplete(c, o) {
|
|
1153
997
|
const a = JSON.parse(c);
|
|
1154
|
-
t && t(a,
|
|
998
|
+
t && t(a, o);
|
|
1155
999
|
},
|
|
1156
|
-
onFailure(c,
|
|
1157
|
-
s && s(c,
|
|
1000
|
+
onFailure(c, o, a) {
|
|
1001
|
+
s && s({ response: c, headers: o, xhr: a });
|
|
1158
1002
|
}
|
|
1159
1003
|
});
|
|
1160
1004
|
}
|
|
1161
|
-
function
|
|
1162
|
-
|
|
1005
|
+
function ve(e, t, s, n) {
|
|
1006
|
+
$(
|
|
1163
1007
|
e.space,
|
|
1164
1008
|
t,
|
|
1165
1009
|
(i) => {
|
|
@@ -1178,31 +1022,31 @@ function Le(e, t, s, n) {
|
|
|
1178
1022
|
}
|
|
1179
1023
|
);
|
|
1180
1024
|
}
|
|
1181
|
-
async function
|
|
1025
|
+
async function Ie(e, t, s = void 0, n = void 0) {
|
|
1182
1026
|
return new Promise((i) => {
|
|
1183
|
-
|
|
1027
|
+
$(e.space, t, (c) => {
|
|
1184
1028
|
f(c, {
|
|
1185
|
-
onComplete: (
|
|
1186
|
-
onFailure: (
|
|
1187
|
-
n && n(
|
|
1029
|
+
onComplete: (o, a, r) => (i(JSON.parse(o)), s && s(JSON.parse(o), a, r), i),
|
|
1030
|
+
onFailure: (o, a, r) => {
|
|
1031
|
+
n && n(o, a, r), console.log(o, a?.errormsg);
|
|
1188
1032
|
}
|
|
1189
1033
|
});
|
|
1190
1034
|
});
|
|
1191
1035
|
});
|
|
1192
1036
|
}
|
|
1193
|
-
function
|
|
1037
|
+
function xe(e, t, s, n = void 0, i = void 0) {
|
|
1194
1038
|
const c = new Blob([JSON.stringify(t)], { type: "text/plain" });
|
|
1195
|
-
|
|
1039
|
+
F(
|
|
1196
1040
|
e,
|
|
1197
1041
|
s,
|
|
1198
|
-
(
|
|
1199
|
-
const a =
|
|
1200
|
-
|
|
1042
|
+
(o) => {
|
|
1043
|
+
const a = o.data[0].relateddata.files[0].id, r = o.data[0].dataelements.secondaryTitle !== "" ? o.data[0].dataelements.secondaryTitle : o.data[0].dataelements.title;
|
|
1044
|
+
K(
|
|
1201
1045
|
e,
|
|
1202
1046
|
s,
|
|
1203
1047
|
a,
|
|
1204
1048
|
c,
|
|
1205
|
-
|
|
1049
|
+
r,
|
|
1206
1050
|
(d) => {
|
|
1207
1051
|
n && n(d);
|
|
1208
1052
|
},
|
|
@@ -1210,35 +1054,36 @@ function Je(e, t, s, n = void 0, i = void 0) {
|
|
|
1210
1054
|
i && i(d);
|
|
1211
1055
|
}
|
|
1212
1056
|
);
|
|
1213
|
-
},
|
|
1214
|
-
(r) => {
|
|
1215
|
-
console.log("En cas d'erreur nous avons :", r), alert("Erreur lors de la sauvegarde, Veuillez réessayez"), i && i(r);
|
|
1216
1057
|
}
|
|
1217
1058
|
);
|
|
1218
1059
|
}
|
|
1219
|
-
let
|
|
1220
|
-
const
|
|
1221
|
-
async function
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
"color: green"
|
|
1225
|
-
), e.objID && e.objID !== "" ? k(
|
|
1226
|
-
e.space,
|
|
1227
|
-
e.objID,
|
|
1060
|
+
let I, x;
|
|
1061
|
+
const A = [];
|
|
1062
|
+
async function Pe(e, t = void 0, s = void 0) {
|
|
1063
|
+
e.objID && e.objID !== "" ? F(
|
|
1064
|
+
e,
|
|
1228
1065
|
(n) => {
|
|
1229
1066
|
t && t(n.csrf.value);
|
|
1230
1067
|
},
|
|
1231
1068
|
(n) => {
|
|
1232
1069
|
s && s(n);
|
|
1233
1070
|
}
|
|
1234
|
-
) : e.objID === null && C(
|
|
1071
|
+
) : e.objID === null && C(
|
|
1072
|
+
e,
|
|
1073
|
+
(n) => {
|
|
1074
|
+
t && t({ rep: n, msg: "Pas d'objID, ou invalide" });
|
|
1075
|
+
},
|
|
1076
|
+
(n) => {
|
|
1077
|
+
s && s({ msg: "Pas d'objID et erreur sur le Space", err: n });
|
|
1078
|
+
}
|
|
1079
|
+
);
|
|
1235
1080
|
}
|
|
1236
|
-
async function
|
|
1237
|
-
await
|
|
1081
|
+
async function Me(e, t = void 0, s = void 0) {
|
|
1082
|
+
await v(
|
|
1238
1083
|
e,
|
|
1239
1084
|
(n) => {
|
|
1240
1085
|
const i = {};
|
|
1241
|
-
i.obj = n,
|
|
1086
|
+
i.obj = n, Y(
|
|
1242
1087
|
e,
|
|
1243
1088
|
(c) => {
|
|
1244
1089
|
i.datas = c, t && t(i);
|
|
@@ -1253,56 +1098,56 @@ async function Ke(e, t = void 0, s = void 0) {
|
|
|
1253
1098
|
}
|
|
1254
1099
|
);
|
|
1255
1100
|
}
|
|
1256
|
-
function
|
|
1101
|
+
function Y(e, t = void 0, s = void 0) {
|
|
1257
1102
|
const n = [];
|
|
1258
1103
|
e.objIds.forEach((i, c) => {
|
|
1259
|
-
|
|
1104
|
+
v(
|
|
1260
1105
|
e,
|
|
1261
1106
|
i.objId,
|
|
1262
|
-
(
|
|
1263
|
-
n.push({ [i.name]:
|
|
1107
|
+
(o) => {
|
|
1108
|
+
n.push({ [i.name]: o }), i.name === "dbProjets" && (I = o.affaires.map((a) => a.objectID), B(e, x)), c === e.objIds.length - 1 && t && t(n);
|
|
1264
1109
|
},
|
|
1265
|
-
(
|
|
1266
|
-
s && s(
|
|
1110
|
+
(o) => {
|
|
1111
|
+
s && s(o);
|
|
1267
1112
|
}
|
|
1268
1113
|
);
|
|
1269
1114
|
});
|
|
1270
1115
|
}
|
|
1271
|
-
function
|
|
1116
|
+
function B(e, t, s = void 0, n = void 0) {
|
|
1272
1117
|
X(
|
|
1273
1118
|
e,
|
|
1274
|
-
|
|
1119
|
+
I,
|
|
1275
1120
|
(i) => {
|
|
1276
1121
|
const c = [...t];
|
|
1277
|
-
c.find((
|
|
1122
|
+
c.find((o) => o.objectID === i.objectId).data = i.data, x = c, A.push(i.data), s && s(A);
|
|
1278
1123
|
},
|
|
1279
1124
|
(i) => {
|
|
1280
1125
|
n && (n(i), console.log(i));
|
|
1281
1126
|
}
|
|
1282
1127
|
);
|
|
1283
1128
|
}
|
|
1284
|
-
const
|
|
1129
|
+
const H = "FA35FB9B177A280065800EA0000F599C", z = [
|
|
1285
1130
|
"swym",
|
|
1286
1131
|
"3dspace",
|
|
1287
1132
|
"drive",
|
|
1288
1133
|
"usersgroup",
|
|
1289
1134
|
"3dplan",
|
|
1290
1135
|
"dashboard"
|
|
1291
|
-
],
|
|
1136
|
+
], P = {
|
|
1292
1137
|
how: "ds6w:how",
|
|
1293
1138
|
what: "ds6w:what",
|
|
1294
1139
|
when: "ds6w:when",
|
|
1295
1140
|
where: "ds6w:where",
|
|
1296
1141
|
who: "ds6w:who",
|
|
1297
1142
|
why: "ds6w:why"
|
|
1298
|
-
},
|
|
1299
|
-
objId:
|
|
1143
|
+
}, q = {
|
|
1144
|
+
objId: H,
|
|
1300
1145
|
pred: "who",
|
|
1301
1146
|
order_by: "desc",
|
|
1302
1147
|
tag: "testTag"
|
|
1303
1148
|
};
|
|
1304
|
-
function
|
|
1305
|
-
const { space: i, tenant: c } = e, { objId:
|
|
1149
|
+
function Le(e, t, s = void 0, n = void 0) {
|
|
1150
|
+
const { space: i, tenant: c } = e, { objId: o, pred: a, tag: r } = t, d = {
|
|
1306
1151
|
uri: "/resources/6w/tags",
|
|
1307
1152
|
otpCTX: "SecurityContext=preferred",
|
|
1308
1153
|
optTenant: `tenant=${c}`
|
|
@@ -1311,12 +1156,12 @@ function Ve(e, t, s = void 0, n = void 0) {
|
|
|
1311
1156
|
{
|
|
1312
1157
|
subject: [
|
|
1313
1158
|
{
|
|
1314
|
-
uri: `pid://${
|
|
1159
|
+
uri: `pid://${o}`
|
|
1315
1160
|
}
|
|
1316
1161
|
],
|
|
1317
|
-
predicate:
|
|
1162
|
+
predicate: P[a],
|
|
1318
1163
|
object: {
|
|
1319
|
-
literal:
|
|
1164
|
+
literal: r
|
|
1320
1165
|
}
|
|
1321
1166
|
}
|
|
1322
1167
|
]
|
|
@@ -1332,12 +1177,12 @@ function Ve(e, t, s = void 0, n = void 0) {
|
|
|
1332
1177
|
JSON.parse(u);
|
|
1333
1178
|
const m = {};
|
|
1334
1179
|
setTimeout(() => {
|
|
1335
|
-
|
|
1180
|
+
G(
|
|
1336
1181
|
e,
|
|
1337
|
-
|
|
1182
|
+
o,
|
|
1338
1183
|
(g) => {
|
|
1339
1184
|
const h = g.data[0].dataelements.title, S = g.data[0].dataelements.fileExtension !== void 0 ? g.data[0].dataelements.fileExtension : "", y = g.data[0].relateddata.ownerInfo[0].dataelements.name;
|
|
1340
|
-
m.name = h, m.ext = S, m.createBy = y, t.info = { ...m },
|
|
1185
|
+
m.name = h, m.ext = S, m.createBy = y, t.info = { ...m }, Q(
|
|
1341
1186
|
e,
|
|
1342
1187
|
t,
|
|
1343
1188
|
(_) => {
|
|
@@ -1361,19 +1206,19 @@ function Ve(e, t, s = void 0, n = void 0) {
|
|
|
1361
1206
|
}
|
|
1362
1207
|
});
|
|
1363
1208
|
}
|
|
1364
|
-
function
|
|
1209
|
+
function Q(e, t, s = void 0, n = void 0) {
|
|
1365
1210
|
console.log("obj ", t);
|
|
1366
1211
|
const i = t.info.name, c = {
|
|
1367
1212
|
baseUrl: `https://${e.tenant.toLowerCase()}-eu1-fedsearch.3dexperience.3ds.com`,
|
|
1368
1213
|
uri: "/federated/search"
|
|
1369
|
-
},
|
|
1214
|
+
}, o = `${c.baseUrl}${c.uri}`, a = {
|
|
1370
1215
|
"Content-Type": "application/json",
|
|
1371
1216
|
Accept: "application/json,text/javascript,*/*"
|
|
1372
|
-
},
|
|
1217
|
+
}, r = j(), d = {
|
|
1373
1218
|
with_indexing_date: !0,
|
|
1374
1219
|
with_synthesis: !0,
|
|
1375
1220
|
with_nls: !1,
|
|
1376
|
-
label: `3DSearch-${e.currentUser.username}-AjoutDeTagBeam-${
|
|
1221
|
+
label: `3DSearch-${e.currentUser.username}-AjoutDeTagBeam-${r}`,
|
|
1377
1222
|
locale: "fr",
|
|
1378
1223
|
select_predicate: [
|
|
1379
1224
|
"ds6w:label",
|
|
@@ -1411,7 +1256,7 @@ function ee(e, t, s = void 0, n = void 0) {
|
|
|
1411
1256
|
}
|
|
1412
1257
|
},
|
|
1413
1258
|
select_exclude_synthesis: ["ds6w:what/ds6w:topic"],
|
|
1414
|
-
order_by:
|
|
1259
|
+
order_by: q.order_by,
|
|
1415
1260
|
order_field: "relevance",
|
|
1416
1261
|
select_snippets: [
|
|
1417
1262
|
"ds6w:snippet",
|
|
@@ -1422,7 +1267,7 @@ function ee(e, t, s = void 0, n = void 0) {
|
|
|
1422
1267
|
],
|
|
1423
1268
|
nresults: 40,
|
|
1424
1269
|
start: "0",
|
|
1425
|
-
source:
|
|
1270
|
+
source: z,
|
|
1426
1271
|
tenant: e.tenant,
|
|
1427
1272
|
login: {
|
|
1428
1273
|
"3dspace": {
|
|
@@ -1430,7 +1275,7 @@ function ee(e, t, s = void 0, n = void 0) {
|
|
|
1430
1275
|
}
|
|
1431
1276
|
}
|
|
1432
1277
|
};
|
|
1433
|
-
console.log("dataPattern => ", d), f(
|
|
1278
|
+
console.log("dataPattern => ", d), f(o, {
|
|
1434
1279
|
method: "POST",
|
|
1435
1280
|
headers: a,
|
|
1436
1281
|
data: JSON.stringify(d),
|
|
@@ -1444,12 +1289,12 @@ function ee(e, t, s = void 0, n = void 0) {
|
|
|
1444
1289
|
}
|
|
1445
1290
|
});
|
|
1446
1291
|
}
|
|
1447
|
-
function
|
|
1448
|
-
const { objId: i, pred: c, tag:
|
|
1292
|
+
function Je(e, t, s = void 0, n = void 0) {
|
|
1293
|
+
const { objId: i, pred: c, tag: o } = t, a = {
|
|
1449
1294
|
uri: "/resources/6w/tags",
|
|
1450
1295
|
otpCTX: "SecurityContext=preferred",
|
|
1451
1296
|
optTenant: `tenant=${e.tenant}`
|
|
1452
|
-
},
|
|
1297
|
+
}, r = `${e.space}${a.uri}?${a.otpCTX}&${a.optTenant}`, d = {
|
|
1453
1298
|
tag: [
|
|
1454
1299
|
{
|
|
1455
1300
|
subject: [
|
|
@@ -1457,14 +1302,14 @@ function We(e, t, s = void 0, n = void 0) {
|
|
|
1457
1302
|
uri: `pid://${i}`
|
|
1458
1303
|
}
|
|
1459
1304
|
],
|
|
1460
|
-
predicate:
|
|
1305
|
+
predicate: P[c],
|
|
1461
1306
|
object: {
|
|
1462
|
-
literal:
|
|
1307
|
+
literal: o
|
|
1463
1308
|
}
|
|
1464
1309
|
}
|
|
1465
1310
|
]
|
|
1466
1311
|
};
|
|
1467
|
-
f(
|
|
1312
|
+
f(r, {
|
|
1468
1313
|
method: "DELETE",
|
|
1469
1314
|
data: JSON.stringify(d),
|
|
1470
1315
|
headers: {
|
|
@@ -1480,20 +1325,20 @@ function We(e, t, s = void 0, n = void 0) {
|
|
|
1480
1325
|
}
|
|
1481
1326
|
});
|
|
1482
1327
|
}
|
|
1483
|
-
function
|
|
1328
|
+
function Ee(e, t = "", s = void 0, n = void 0) {
|
|
1484
1329
|
const { space: i } = e;
|
|
1485
1330
|
if (t === "")
|
|
1486
1331
|
return;
|
|
1487
1332
|
const c = {
|
|
1488
1333
|
uri: "/enovia/resources/v1/modeler/documents"
|
|
1489
|
-
},
|
|
1334
|
+
}, o = {
|
|
1490
1335
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
|
|
1491
1336
|
Accept: "application/json,text/javascript,*/*"
|
|
1492
|
-
}, a = `${i}${c.uri}`,
|
|
1337
|
+
}, a = `${i}${c.uri}`, r = `$include=none,lockerInfo,ownerInfo,originatorInfo,files,ownerInfo,originatorInfo&$fields=none,title,name,typeNLS,collabSpaceTitle,revision,isLatestRevision,files,lockStatus,lockerInfo.name,lockerInfo.firstname,lockerInfo.lastname,owner,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,stateNLS,modified,policy,state,organizationTitle,originator,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname,hasModifyAccess,fileExtension,files.name,files.title,files.revision,files.locker,ownerInfo,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,originatorInfo,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname&$ids=${t}`;
|
|
1493
1338
|
f(a, {
|
|
1494
1339
|
method: "POST",
|
|
1495
|
-
headers:
|
|
1496
|
-
data:
|
|
1340
|
+
headers: o,
|
|
1341
|
+
data: r,
|
|
1497
1342
|
onComplete(d) {
|
|
1498
1343
|
s && s(JSON.parse(d));
|
|
1499
1344
|
},
|
|
@@ -1503,20 +1348,93 @@ function Xe(e, t = "", s = void 0, n = void 0) {
|
|
|
1503
1348
|
}
|
|
1504
1349
|
});
|
|
1505
1350
|
}
|
|
1506
|
-
function
|
|
1351
|
+
async function w(e, t = void 0, s = void 0) {
|
|
1352
|
+
const n = e.space + "/api/index/tk";
|
|
1353
|
+
return f(n, {
|
|
1354
|
+
onComplete(i, c, o) {
|
|
1355
|
+
const a = JSON.parse(i);
|
|
1356
|
+
if (t)
|
|
1357
|
+
return t(a), e.token = a?.result?.ServerToken;
|
|
1358
|
+
},
|
|
1359
|
+
onFailure(i) {
|
|
1360
|
+
s && s(i);
|
|
1361
|
+
}
|
|
1362
|
+
});
|
|
1363
|
+
}
|
|
1364
|
+
function Ge(e, t = void 0, s = void 0) {
|
|
1365
|
+
const n = `${e.space}/api/exalead/whatsnew`, i = {
|
|
1366
|
+
params: {
|
|
1367
|
+
community_id: null,
|
|
1368
|
+
hash_key: null,
|
|
1369
|
+
legacyFormat: !1,
|
|
1370
|
+
nresults: 1,
|
|
1371
|
+
query: "#all",
|
|
1372
|
+
start: 0
|
|
1373
|
+
}
|
|
1374
|
+
};
|
|
1375
|
+
w(e, (c) => {
|
|
1376
|
+
f(n, {
|
|
1377
|
+
method: "POST",
|
|
1378
|
+
headers: {
|
|
1379
|
+
"X-DS-SWYM-CSRFTOKEN": c.result.ServerToken,
|
|
1380
|
+
"Content-type": "application/json;charset=UTF-8",
|
|
1381
|
+
Accept: "application/json"
|
|
1382
|
+
},
|
|
1383
|
+
data: JSON.stringify(i),
|
|
1384
|
+
type: "json",
|
|
1385
|
+
onComplete(o, a) {
|
|
1386
|
+
t && t(o, a);
|
|
1387
|
+
},
|
|
1388
|
+
onFailure(o, a) {
|
|
1389
|
+
s && s(o, a);
|
|
1390
|
+
}
|
|
1391
|
+
});
|
|
1392
|
+
});
|
|
1393
|
+
}
|
|
1394
|
+
function Ke(e, t = void 0, s = void 0) {
|
|
1395
|
+
const n = `${e.space}/api/Recommendation/getpeoplefamiliartocurrentuser`, i = {
|
|
1396
|
+
params: {
|
|
1397
|
+
idsToFilterArr: [],
|
|
1398
|
+
mode: "offline",
|
|
1399
|
+
limit: 30,
|
|
1400
|
+
itemType: "User",
|
|
1401
|
+
maxNbOfCommonElements: "5"
|
|
1402
|
+
}
|
|
1403
|
+
};
|
|
1404
|
+
w(e, (c) => {
|
|
1405
|
+
f(n, {
|
|
1406
|
+
method: "POST",
|
|
1407
|
+
headers: {
|
|
1408
|
+
"X-DS-SWYM-CSRFTOKEN": c.result.ServerToken,
|
|
1409
|
+
"Content-type": "application/json;charset=UTF-8",
|
|
1410
|
+
Accept: "application/json"
|
|
1411
|
+
},
|
|
1412
|
+
data: JSON.stringify(i),
|
|
1413
|
+
type: "json",
|
|
1414
|
+
onComplete(o, a) {
|
|
1415
|
+
const r = o.result.hits.map((d) => ({ login: d.login, fullName: d.name }));
|
|
1416
|
+
t && t(r, o);
|
|
1417
|
+
},
|
|
1418
|
+
onFailure(o, a) {
|
|
1419
|
+
s && s(o, a);
|
|
1420
|
+
}
|
|
1421
|
+
});
|
|
1422
|
+
});
|
|
1423
|
+
}
|
|
1424
|
+
function We(e, t = void 0, s = void 0) {
|
|
1507
1425
|
const n = {
|
|
1508
1426
|
base: e.space,
|
|
1509
1427
|
uri: "/api/community/listmycommunities",
|
|
1510
1428
|
limit: `/limit/${e.limit ? e.limit : 128}`,
|
|
1511
1429
|
page: `/page/${e.page ? e.page : "1"}`
|
|
1512
1430
|
}, i = `${n.base}${n.uri}${n.limit}${n.page}`, c = [];
|
|
1513
|
-
|
|
1431
|
+
w(e, (o) => {
|
|
1514
1432
|
f(i, {
|
|
1515
1433
|
method: "GET",
|
|
1516
1434
|
headers: {
|
|
1517
|
-
"X-DS-SWYM-CSRFTOKEN":
|
|
1435
|
+
"X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
|
|
1518
1436
|
},
|
|
1519
|
-
onComplete(a,
|
|
1437
|
+
onComplete(a, r, d) {
|
|
1520
1438
|
const p = JSON.parse(a).result;
|
|
1521
1439
|
let u = 0;
|
|
1522
1440
|
p.forEach((m) => {
|
|
@@ -1528,7 +1446,7 @@ function Ye(e, t = void 0, s = void 0) {
|
|
|
1528
1446
|
role: m.role,
|
|
1529
1447
|
access: m.access
|
|
1530
1448
|
};
|
|
1531
|
-
|
|
1449
|
+
Z(
|
|
1532
1450
|
e,
|
|
1533
1451
|
m.id,
|
|
1534
1452
|
(h) => {
|
|
@@ -1538,14 +1456,14 @@ function Ye(e, t = void 0, s = void 0) {
|
|
|
1538
1456
|
);
|
|
1539
1457
|
});
|
|
1540
1458
|
},
|
|
1541
|
-
onFailure(a,
|
|
1459
|
+
onFailure(a, r) {
|
|
1542
1460
|
const d = a;
|
|
1543
|
-
d.status =
|
|
1461
|
+
d.status = r.status, d.response = r.errormsg, s && s(d);
|
|
1544
1462
|
}
|
|
1545
1463
|
});
|
|
1546
1464
|
});
|
|
1547
1465
|
}
|
|
1548
|
-
function
|
|
1466
|
+
function Z(e, t, s, n) {
|
|
1549
1467
|
const i = `${e.space}/api/community/listmembers`, c = {
|
|
1550
1468
|
params: {
|
|
1551
1469
|
page: e.page ? e.page : 1,
|
|
@@ -1553,31 +1471,31 @@ function te(e, t, s, n) {
|
|
|
1553
1471
|
community_id: t
|
|
1554
1472
|
}
|
|
1555
1473
|
};
|
|
1556
|
-
|
|
1474
|
+
w(e, (o) => {
|
|
1557
1475
|
f(i, {
|
|
1558
1476
|
method: "POST",
|
|
1559
1477
|
headers: {
|
|
1560
1478
|
"Content-type": "application/json;charset=UTF-8",
|
|
1561
1479
|
Accept: "application/json",
|
|
1562
|
-
"X-DS-SWYM-CSRFTOKEN":
|
|
1480
|
+
"X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
|
|
1563
1481
|
},
|
|
1564
1482
|
data: JSON.stringify(c),
|
|
1565
1483
|
type: "json",
|
|
1566
|
-
onComplete(a,
|
|
1484
|
+
onComplete(a, r, d) {
|
|
1567
1485
|
s && s(a);
|
|
1568
1486
|
},
|
|
1569
|
-
onFailure(a,
|
|
1487
|
+
onFailure(a, r) {
|
|
1570
1488
|
const d = a;
|
|
1571
|
-
d.status =
|
|
1489
|
+
d.status = r.status, d.response = r.errormsg, n && n(d);
|
|
1572
1490
|
}
|
|
1573
1491
|
});
|
|
1574
1492
|
});
|
|
1575
1493
|
}
|
|
1576
|
-
function
|
|
1494
|
+
function Xe(e, t = void 0, s = void 0) {
|
|
1577
1495
|
const n = "YXdA5x4DSUKtlAi2wmnyTA";
|
|
1578
1496
|
e.commu_id || (e.commu_id = n);
|
|
1579
1497
|
const i = `${e.space}/api/v2/communities/${e.commu_id}/ideas/statuses`;
|
|
1580
|
-
|
|
1498
|
+
w(e, (c) => {
|
|
1581
1499
|
f(i, {
|
|
1582
1500
|
method: "GET",
|
|
1583
1501
|
headers: {
|
|
@@ -1585,40 +1503,40 @@ function Be(e, t = void 0, s = void 0) {
|
|
|
1585
1503
|
Accept: "application/json",
|
|
1586
1504
|
"X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
|
|
1587
1505
|
},
|
|
1588
|
-
onComplete(
|
|
1589
|
-
const a = JSON.parse(
|
|
1506
|
+
onComplete(o) {
|
|
1507
|
+
const a = JSON.parse(o);
|
|
1590
1508
|
t && t(a);
|
|
1591
1509
|
},
|
|
1592
|
-
onFailure(
|
|
1593
|
-
const
|
|
1594
|
-
|
|
1510
|
+
onFailure(o, a) {
|
|
1511
|
+
const r = o;
|
|
1512
|
+
r.status = a.status, r.response = a.errormsg, s && s(r);
|
|
1595
1513
|
}
|
|
1596
1514
|
});
|
|
1597
1515
|
});
|
|
1598
1516
|
}
|
|
1599
|
-
function
|
|
1517
|
+
function Ve(e, t, s = void 0, n = void 0) {
|
|
1600
1518
|
const { listAllContacts: i, currentUser: c } = e;
|
|
1601
1519
|
console.log("__listAllContacts", i.hits);
|
|
1602
|
-
const
|
|
1520
|
+
const o = `${e.space}/api/directmessages`, a = {
|
|
1603
1521
|
users: [c.login].concat(t.receipt)
|
|
1604
|
-
},
|
|
1522
|
+
}, r = {
|
|
1605
1523
|
id_msg: "",
|
|
1606
1524
|
senderId: e.currentUser.login,
|
|
1607
1525
|
senderName: `${e.currentUser.first_name} ${e.currentUser.last_name}`,
|
|
1608
|
-
msg:
|
|
1526
|
+
msg: te(t.msg)
|
|
1609
1527
|
};
|
|
1610
1528
|
let d = !1;
|
|
1611
|
-
|
|
1529
|
+
ee(
|
|
1612
1530
|
a.users,
|
|
1613
1531
|
(l) => {
|
|
1614
|
-
l !== void 0 && (
|
|
1532
|
+
l !== void 0 && (r.id_msg = l.id, d = !0, R(e, r));
|
|
1615
1533
|
},
|
|
1616
1534
|
(l) => {
|
|
1617
|
-
d = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", l), n && n(l),
|
|
1535
|
+
d = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", l), n && n(l), r.id_msg = "";
|
|
1618
1536
|
}
|
|
1619
1537
|
), d === !1 && setTimeout(() => {
|
|
1620
|
-
d === !1 &&
|
|
1621
|
-
f(
|
|
1538
|
+
d === !1 && w(e, (l) => {
|
|
1539
|
+
f(o, {
|
|
1622
1540
|
method: "POST",
|
|
1623
1541
|
headers: {
|
|
1624
1542
|
"Content-Type": "application/json",
|
|
@@ -1629,7 +1547,7 @@ function ze(e, t, s = void 0, n = void 0) {
|
|
|
1629
1547
|
type: "json",
|
|
1630
1548
|
onComplete(p, u, m) {
|
|
1631
1549
|
const g = p;
|
|
1632
|
-
g.reponse = JSON.parse(m.response), g.status = m.status, s && s(g),
|
|
1550
|
+
g.reponse = JSON.parse(m.response), g.status = m.status, s && s(g), r.id_msg = g.result.id, R(e, r);
|
|
1633
1551
|
},
|
|
1634
1552
|
onFailure(p, u, m) {
|
|
1635
1553
|
const g = p;
|
|
@@ -1639,21 +1557,21 @@ function ze(e, t, s = void 0, n = void 0) {
|
|
|
1639
1557
|
});
|
|
1640
1558
|
}, 500);
|
|
1641
1559
|
}
|
|
1642
|
-
function
|
|
1560
|
+
function ee(e, t, s, n) {
|
|
1643
1561
|
const i = `${e.space}/api/directmessages/lite?with_favorites=false`;
|
|
1644
|
-
|
|
1562
|
+
w(e, (c) => {
|
|
1645
1563
|
f(i, {
|
|
1646
1564
|
method: "GET",
|
|
1647
1565
|
headers: {
|
|
1648
1566
|
Accept: "application/json,text/javascript,*/*",
|
|
1649
1567
|
"X-DS-SWYM-CSRFTOKEN": c.result.ServerToken
|
|
1650
1568
|
},
|
|
1651
|
-
onComplete(
|
|
1652
|
-
const a = JSON.parse(
|
|
1569
|
+
onComplete(o) {
|
|
1570
|
+
const a = JSON.parse(o), r = [];
|
|
1653
1571
|
a.result.forEach((p) => {
|
|
1654
|
-
p.users = p.users.sort((u, m) => u.login.localeCompare(m.login)), p.users.length === t.length &&
|
|
1572
|
+
p.users = p.users.sort((u, m) => u.login.localeCompare(m.login)), p.users.length === t.length && r.push(p);
|
|
1655
1573
|
});
|
|
1656
|
-
const d = t.sort(), l =
|
|
1574
|
+
const d = t.sort(), l = r.find((p) => {
|
|
1657
1575
|
const u = [];
|
|
1658
1576
|
return p.users.forEach((m) => {
|
|
1659
1577
|
u.push(m.login);
|
|
@@ -1661,8 +1579,8 @@ function ne(e, t, s, n) {
|
|
|
1661
1579
|
});
|
|
1662
1580
|
s && l !== void 0 ? s(l) : (n || l === void 0) && n(l);
|
|
1663
1581
|
},
|
|
1664
|
-
onFailure(
|
|
1665
|
-
const a =
|
|
1582
|
+
onFailure(o) {
|
|
1583
|
+
const a = o;
|
|
1666
1584
|
a.msg = headers.errormsg, a.errCode = headers.errorcode, console.log("❌ sendDirectMessageLite => ", a), n && n(a);
|
|
1667
1585
|
}
|
|
1668
1586
|
});
|
|
@@ -1674,7 +1592,7 @@ function R(e, t, s = void 0, n = void 0) {
|
|
|
1674
1592
|
uri: "/api/community",
|
|
1675
1593
|
id_msg: `${t.id_msg}`,
|
|
1676
1594
|
endUri: "/instantmessages"
|
|
1677
|
-
}, c = `${i.base}${i.uri}/${i.id_msg}${i.endUri}`,
|
|
1595
|
+
}, c = `${i.base}${i.uri}/${i.id_msg}${i.endUri}`, o = {
|
|
1678
1596
|
author: { login: t.senderId, displayName: t.senderName },
|
|
1679
1597
|
accessState: null,
|
|
1680
1598
|
commentUri: null,
|
|
@@ -1684,7 +1602,7 @@ function R(e, t, s = void 0, n = void 0) {
|
|
|
1684
1602
|
parentCommentUri: null,
|
|
1685
1603
|
richMessage: t.msg
|
|
1686
1604
|
};
|
|
1687
|
-
console.log("_3dSwym_sendDirectMessageData url ", c),
|
|
1605
|
+
console.log("_3dSwym_sendDirectMessageData url ", c), w(e, (a) => {
|
|
1688
1606
|
f(c, {
|
|
1689
1607
|
method: "POST",
|
|
1690
1608
|
headers: {
|
|
@@ -1692,27 +1610,27 @@ function R(e, t, s = void 0, n = void 0) {
|
|
|
1692
1610
|
Accept: "application/json",
|
|
1693
1611
|
"X-DS-SWYM-CSRFTOKEN": a.result.ServerToken
|
|
1694
1612
|
},
|
|
1695
|
-
data: JSON.stringify(
|
|
1613
|
+
data: JSON.stringify(o),
|
|
1696
1614
|
type: "json",
|
|
1697
|
-
onComplete(
|
|
1698
|
-
const p =
|
|
1615
|
+
onComplete(r, d, l) {
|
|
1616
|
+
const p = r;
|
|
1699
1617
|
p.status = l.status, p.response = JSON.parse(l.response), console.log("✅ _3dSwym_sendDirectMessageData => ", p), s && s(p);
|
|
1700
1618
|
},
|
|
1701
|
-
onFailure(
|
|
1702
|
-
const l =
|
|
1619
|
+
onFailure(r, d) {
|
|
1620
|
+
const l = r;
|
|
1703
1621
|
l.msg = d.errormsg, l.errCode = d.errorcode, console.log("❌ sendDirectMessage => ", l), n && n(l);
|
|
1704
1622
|
}
|
|
1705
1623
|
});
|
|
1706
1624
|
});
|
|
1707
1625
|
}
|
|
1708
|
-
function
|
|
1626
|
+
function te(e) {
|
|
1709
1627
|
const t = (/* @__PURE__ */ new Date()).toLocaleDateString(), s = (/* @__PURE__ */ new Date()).toLocaleTimeString();
|
|
1710
1628
|
return `<p>${e} </p>
|
|
1711
1629
|
<br/>
|
|
1712
1630
|
<hr/>
|
|
1713
1631
|
<p><u>envoyer :</u>Le <b>${t} à ${s}</b></p>`;
|
|
1714
1632
|
}
|
|
1715
|
-
const
|
|
1633
|
+
const ne = {
|
|
1716
1634
|
title: "TEST DEV COMMUNITY IDEA",
|
|
1717
1635
|
// titre du post
|
|
1718
1636
|
community_id: "YXdA5x4DSUKtlAi2wmnyTA",
|
|
@@ -1722,28 +1640,28 @@ const ae = {
|
|
|
1722
1640
|
idee_id: "THhRI8rlQNWKRxpv3Xqqug"
|
|
1723
1641
|
// id de l'idee qui est créer au post (_3dSwym_postIdea)
|
|
1724
1642
|
};
|
|
1725
|
-
function
|
|
1643
|
+
function Ye(e, t, s = void 0, n = void 0) {
|
|
1726
1644
|
const i = `${e.space}/api/idea/add`, c = e.swymCommunities.find(
|
|
1727
|
-
(
|
|
1728
|
-
),
|
|
1729
|
-
(
|
|
1645
|
+
(r) => r.id === t.community_id
|
|
1646
|
+
), o = e.swymCommunities.find(
|
|
1647
|
+
(r) => r.title.toLowerCase() === t.community_title.toLowerCase()
|
|
1730
1648
|
), a = {
|
|
1731
1649
|
params: {
|
|
1732
1650
|
title: t.title,
|
|
1733
1651
|
// String, le nom de l'affaire
|
|
1734
|
-
community_id: c?.id !== void 0 ? c.id :
|
|
1652
|
+
community_id: c?.id !== void 0 ? c.id : o.id,
|
|
1735
1653
|
// String, l'id de la communauté
|
|
1736
|
-
message:
|
|
1654
|
+
message: se(t.text_html),
|
|
1737
1655
|
// STRING => le contenue du message doit être au format HTML
|
|
1738
1656
|
published: 1
|
|
1739
1657
|
// 1 publier, 0 non publier
|
|
1740
1658
|
}
|
|
1741
1659
|
};
|
|
1742
|
-
|
|
1660
|
+
w(e, (r) => {
|
|
1743
1661
|
const d = {
|
|
1744
1662
|
"Content-type": "application/json;charset=UTF-8",
|
|
1745
1663
|
Accept: "application/json",
|
|
1746
|
-
"X-DS-SWYM-CSRFTOKEN":
|
|
1664
|
+
"X-DS-SWYM-CSRFTOKEN": r.result.ServerToken
|
|
1747
1665
|
};
|
|
1748
1666
|
f(i, {
|
|
1749
1667
|
method: "POST",
|
|
@@ -1761,42 +1679,42 @@ function He(e, t, s = void 0, n = void 0) {
|
|
|
1761
1679
|
});
|
|
1762
1680
|
});
|
|
1763
1681
|
}
|
|
1764
|
-
function
|
|
1682
|
+
function Be(e, t, s = void 0, n = void 0) {
|
|
1765
1683
|
const i = `${e.space}/api/idea/delete`, c = {
|
|
1766
1684
|
params: {
|
|
1767
1685
|
community_id: t.community_id,
|
|
1768
1686
|
ideationIds: [t.idee_id]
|
|
1769
1687
|
}
|
|
1770
1688
|
};
|
|
1771
|
-
|
|
1689
|
+
w(e, (o) => {
|
|
1772
1690
|
f(i, {
|
|
1773
1691
|
method: "POST",
|
|
1774
1692
|
headers: {
|
|
1775
1693
|
"Content-type": "application/json;charset=UTF-8",
|
|
1776
1694
|
Accept: "application/json",
|
|
1777
|
-
"X-DS-SWYM-CSRFTOKEN":
|
|
1695
|
+
"X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
|
|
1778
1696
|
},
|
|
1779
1697
|
data: JSON.stringify(c),
|
|
1780
1698
|
type: "json",
|
|
1781
|
-
onComplete(a,
|
|
1699
|
+
onComplete(a, r, d) {
|
|
1782
1700
|
s && s(a);
|
|
1783
1701
|
},
|
|
1784
|
-
onFailure(a,
|
|
1702
|
+
onFailure(a, r, d) {
|
|
1785
1703
|
const l = a;
|
|
1786
|
-
l.status =
|
|
1704
|
+
l.status = r.status, l.response = r.errormsg, n && n(l);
|
|
1787
1705
|
}
|
|
1788
1706
|
});
|
|
1789
1707
|
});
|
|
1790
1708
|
}
|
|
1791
|
-
function
|
|
1709
|
+
function He(e, t = "", s = void 0, n = void 0) {
|
|
1792
1710
|
const i = e.tenant.toLowerCase() === "r1132101716373" ? "tFtz0G4MR6qNtKgJjNfTog" : e.tenant.toLowerCase() === "r1132101286859" ? "Qpv3HN-tTDOsU-7_c5DnDg" : "Template_d'idée_à_créer";
|
|
1793
1711
|
t === "" && (t = i);
|
|
1794
|
-
const c = `${e.space}/api/idea/get`,
|
|
1712
|
+
const c = `${e.space}/api/idea/get`, o = {
|
|
1795
1713
|
params: {
|
|
1796
1714
|
id: t
|
|
1797
1715
|
}
|
|
1798
1716
|
};
|
|
1799
|
-
|
|
1717
|
+
w(e, (a) => {
|
|
1800
1718
|
f(c, {
|
|
1801
1719
|
method: "POST",
|
|
1802
1720
|
headers: {
|
|
@@ -1804,43 +1722,43 @@ function Qe(e, t = "", s = void 0, n = void 0) {
|
|
|
1804
1722
|
Accept: "application/json",
|
|
1805
1723
|
"X-DS-SWYM-CSRFTOKEN": a.result.ServerToken
|
|
1806
1724
|
},
|
|
1807
|
-
data: JSON.stringify(
|
|
1725
|
+
data: JSON.stringify(o),
|
|
1808
1726
|
type: "json",
|
|
1809
|
-
onComplete(
|
|
1810
|
-
const d =
|
|
1727
|
+
onComplete(r) {
|
|
1728
|
+
const d = r;
|
|
1811
1729
|
d.msg = d.result.message, s && s(d);
|
|
1812
1730
|
},
|
|
1813
|
-
onFailure(
|
|
1814
|
-
const d =
|
|
1731
|
+
onFailure(r) {
|
|
1732
|
+
const d = r;
|
|
1815
1733
|
d.status = headers.status, d.response = headers.errormsg, n && n(d);
|
|
1816
1734
|
}
|
|
1817
1735
|
});
|
|
1818
1736
|
});
|
|
1819
1737
|
}
|
|
1820
|
-
function
|
|
1738
|
+
function ze(e, t = ne, s = void 0, n = void 0) {
|
|
1821
1739
|
const i = {
|
|
1822
1740
|
uri: "/api/idea/list",
|
|
1823
1741
|
comId: `/community_id/${e.tenant.toLowerCase() === "r1132101716373" ? t.community_id : "bgnIsG74SUWswyGzS6NC6g"}`,
|
|
1824
1742
|
limit: `/limit/${t.limit ? t.limit : 10}`
|
|
1825
1743
|
}, c = `${e.space}${i.uri}${i.comId}${i.limit}`;
|
|
1826
|
-
|
|
1744
|
+
w(e, (o) => {
|
|
1827
1745
|
f(c, {
|
|
1828
1746
|
method: "GET",
|
|
1829
1747
|
headers: {
|
|
1830
|
-
"X-DS-SWYM-CSRFTOKEN":
|
|
1748
|
+
"X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
|
|
1831
1749
|
},
|
|
1832
1750
|
onComplete(a) {
|
|
1833
|
-
const
|
|
1834
|
-
s && s(
|
|
1751
|
+
const r = JSON.parse(a);
|
|
1752
|
+
s && s(r);
|
|
1835
1753
|
},
|
|
1836
|
-
onFailure(a,
|
|
1754
|
+
onFailure(a, r) {
|
|
1837
1755
|
const d = a;
|
|
1838
|
-
d.status =
|
|
1756
|
+
d.status = r.status, d.response = r.errormsg, n && n(d);
|
|
1839
1757
|
}
|
|
1840
1758
|
});
|
|
1841
1759
|
});
|
|
1842
1760
|
}
|
|
1843
|
-
function
|
|
1761
|
+
function se(e) {
|
|
1844
1762
|
return !e || e === "" ? `<h2><u>INFORMATIONS AFFAIRE :</u></h2>
|
|
1845
1763
|
<p><u>|⚠️<em> Merci de respecter l'écriture des tags, en MAJUSCULES, nom complet, pas de caractères</em></u></p>
|
|
1846
1764
|
<p><u><em>|spéciaux, séparation par "_" si besoin !</em></u></p>
|
|
@@ -1915,78 +1833,117 @@ function ie(e) {
|
|
|
1915
1833
|
<p>
|
|
1916
1834
|
</p>` : e;
|
|
1917
1835
|
}
|
|
1918
|
-
function
|
|
1836
|
+
function qe(e, t = void 0, s = void 0) {
|
|
1837
|
+
const n = e.space + "/api/user/getcurrent/";
|
|
1838
|
+
w(
|
|
1839
|
+
e,
|
|
1840
|
+
(i) => {
|
|
1841
|
+
f(n, {
|
|
1842
|
+
method: "GET",
|
|
1843
|
+
headers: { "X-DS-SWYM-CSRFTOKEN": i.result.ServerToken },
|
|
1844
|
+
onComplete(c, o, a) {
|
|
1845
|
+
const r = JSON.parse(c);
|
|
1846
|
+
t && t(r.result);
|
|
1847
|
+
},
|
|
1848
|
+
onFailure(c, o, a) {
|
|
1849
|
+
s && s({ response: c, headers: o, xhr: a });
|
|
1850
|
+
}
|
|
1851
|
+
});
|
|
1852
|
+
},
|
|
1853
|
+
s
|
|
1854
|
+
);
|
|
1855
|
+
}
|
|
1856
|
+
function Qe(e, t, s = void 0, n = void 0) {
|
|
1857
|
+
const i = e.space + "/api/user/find/login/" + t;
|
|
1858
|
+
w(
|
|
1859
|
+
e,
|
|
1860
|
+
(c) => {
|
|
1861
|
+
f(i, {
|
|
1862
|
+
method: "GET",
|
|
1863
|
+
headers: { "X-DS-SWYM-CSRFTOKEN": c.result.ServerToken },
|
|
1864
|
+
onComplete(o, a, r) {
|
|
1865
|
+
const d = JSON.parse(o);
|
|
1866
|
+
s && s(d);
|
|
1867
|
+
},
|
|
1868
|
+
onFailure(o) {
|
|
1869
|
+
n && n(o);
|
|
1870
|
+
}
|
|
1871
|
+
});
|
|
1872
|
+
},
|
|
1873
|
+
n
|
|
1874
|
+
);
|
|
1875
|
+
}
|
|
1876
|
+
function Ze(e) {
|
|
1919
1877
|
const t = "Hello " + e;
|
|
1920
1878
|
return console.log(t), t;
|
|
1921
1879
|
}
|
|
1922
1880
|
export {
|
|
1923
|
-
|
|
1881
|
+
j as UUID,
|
|
1924
1882
|
Fe as _3DSpace_Create_Doc,
|
|
1925
1883
|
C as _3DSpace_csrf,
|
|
1926
|
-
|
|
1884
|
+
v as _3DSpace_download_doc,
|
|
1927
1885
|
X as _3DSpace_download_multidoc,
|
|
1928
|
-
|
|
1886
|
+
K as _3DSpace_file_update,
|
|
1929
1887
|
W as _3DSpace_file_update_csr,
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1888
|
+
$ as _3DSpace_file_url,
|
|
1889
|
+
be as _3DSpace_file_url_csr,
|
|
1890
|
+
F as _3DSpace_get_csrf,
|
|
1891
|
+
G as _3DSpace_get_docInfo,
|
|
1892
|
+
V as _3DSpace_get_downloadTicket_multidoc,
|
|
1935
1893
|
N as _3DSpace_get_securityContexts,
|
|
1936
1894
|
Re as _3DSpace_lifecycle_changeRevision,
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1895
|
+
Ue as _3DSpace_lifecycle_changeState,
|
|
1896
|
+
$e as _3DSpace_lifecycle_getGraph,
|
|
1897
|
+
Ae as _3DSpace_lifecycle_getNextRevision,
|
|
1898
|
+
ke as _3DSpace_lifecycle_getNextStates,
|
|
1899
|
+
We as _3DSwim_getAllCommunities,
|
|
1900
|
+
Z as _3DSwim_getMembersCommunity,
|
|
1901
|
+
Ve as _3DSwym_buildDirectMessage,
|
|
1902
|
+
Be as _3DSwym_deleteIdea,
|
|
1903
|
+
ee as _3DSwym_findCommunityToInstantMSG,
|
|
1904
|
+
Ge as _3DSwym_getAllNews,
|
|
1905
|
+
Ke as _3DSwym_getFamiliarPeople,
|
|
1906
|
+
Xe as _3DSwym_getIdeaStatusMaturity,
|
|
1907
|
+
He as _3DSwym_getSWYMIdea,
|
|
1908
|
+
ze as _3DSwym_get_AllSWYMIdeas,
|
|
1909
|
+
qe as _3DSwym_get_currentUser,
|
|
1910
|
+
Qe as _3DSwym_get_findUser,
|
|
1911
|
+
w as _3DSwym_get_version,
|
|
1912
|
+
Ye as _3DSwym_postIdea,
|
|
1955
1913
|
R as _3DSwym_sendMessageData,
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1914
|
+
Se as _AppMngt_get_info_user,
|
|
1915
|
+
he as _AppMngt_get_users,
|
|
1916
|
+
me as _getPlateformInfos,
|
|
1917
|
+
J as _getPlatformServices,
|
|
1960
1918
|
f as _httpCallAuthenticated,
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
Ee as
|
|
1981
|
-
Xe as getInfoDocTags,
|
|
1919
|
+
pe as _setDraggable,
|
|
1920
|
+
fe as _setDroppable,
|
|
1921
|
+
ue as _setupTagger,
|
|
1922
|
+
Le as addTagToDoc,
|
|
1923
|
+
ge as compass_getListAdditionalApps,
|
|
1924
|
+
L as couleurs,
|
|
1925
|
+
ye as createUserGroups,
|
|
1926
|
+
B as dataMixing,
|
|
1927
|
+
Te as deleteUserGroups,
|
|
1928
|
+
ce as findAdresse,
|
|
1929
|
+
je as getAllContextSecurity,
|
|
1930
|
+
De as getCSRFToken,
|
|
1931
|
+
re as getCommunes,
|
|
1932
|
+
_e as getComplementUG,
|
|
1933
|
+
ve as getDataFrom3DSpace,
|
|
1934
|
+
de as getDataFromGouvFr,
|
|
1935
|
+
Me as getDatasByTenant,
|
|
1936
|
+
Y as getDatasFrom3DSpace,
|
|
1937
|
+
Ie as getDownloadDocument,
|
|
1938
|
+
Ee as getInfoDocTags,
|
|
1982
1939
|
we as getUserGroupsList,
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1940
|
+
E as getUsersGroupRules,
|
|
1941
|
+
Pe as get_3DSpace_csrf,
|
|
1942
|
+
Ce as patchUserGroups,
|
|
1943
|
+
Oe as patchUserGroupsControl,
|
|
1944
|
+
xe as pushDataIn3DSpace,
|
|
1945
|
+
Ne as readUserGroupControl,
|
|
1946
|
+
Je as removeTagToDoc,
|
|
1947
|
+
Ze as sayHello,
|
|
1948
|
+
le as updateEvent
|
|
1992
1949
|
};
|