@beam3_dev/api_module 0.0.222 → 0.0.224
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 +435 -417
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +6 -4
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -34,10 +34,10 @@ const V = {
|
|
|
34
34
|
b3Edit8: "#616161",
|
|
35
35
|
b3Edit9: "#795548"
|
|
36
36
|
};
|
|
37
|
-
async function ge(e,
|
|
38
|
-
const
|
|
37
|
+
async function ge(e, n = void 0, s = void 0) {
|
|
38
|
+
const t = parseInt(e);
|
|
39
39
|
await fetch(
|
|
40
|
-
"https://apicarto.ign.fr/api/codes-postaux/communes/" +
|
|
40
|
+
"https://apicarto.ign.fr/api/codes-postaux/communes/" + t,
|
|
41
41
|
{
|
|
42
42
|
method: "GET",
|
|
43
43
|
headers: {
|
|
@@ -45,12 +45,12 @@ async function ge(e, t = void 0, s = void 0) {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
).then((i) => i.json()).then((i) => {
|
|
48
|
-
|
|
48
|
+
n && n(i);
|
|
49
49
|
}).catch((i) => {
|
|
50
50
|
s && s(i), console.error("Erreur : " + i);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
async function he(e,
|
|
53
|
+
async function he(e, n = 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
|
{
|
|
@@ -59,15 +59,15 @@ async function he(e, t = void 0, s = void 0) {
|
|
|
59
59
|
Accept: "application/json"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
).then((
|
|
63
|
-
|
|
64
|
-
}).catch((
|
|
65
|
-
s && s(
|
|
62
|
+
).then((t) => t.json()).then((t) => {
|
|
63
|
+
n && n(t);
|
|
64
|
+
}).catch((t) => {
|
|
65
|
+
s && s(t), console.error("Erreur : " + t);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
async function ye(e,
|
|
68
|
+
async function ye(e, n = V) {
|
|
69
69
|
let s = N.now().year;
|
|
70
|
-
const
|
|
70
|
+
const t = e, i = [], r = (a) => {
|
|
71
71
|
for (let c in a)
|
|
72
72
|
i.push({ date: c, comment: a[c] });
|
|
73
73
|
};
|
|
@@ -84,9 +84,9 @@ async function ye(e, t = V) {
|
|
|
84
84
|
r(c);
|
|
85
85
|
}).catch((c) => console.error("Erreur : " + c));
|
|
86
86
|
return (() => {
|
|
87
|
-
const a =
|
|
87
|
+
const a = t.length === 0 ? {
|
|
88
88
|
events: []
|
|
89
|
-
} :
|
|
89
|
+
} : t;
|
|
90
90
|
for (let c of i)
|
|
91
91
|
a.events.findIndex(
|
|
92
92
|
(p) => p.start === N.fromISO(c.date).toISODate() && p.name === "Férié : " + c.comment
|
|
@@ -94,38 +94,38 @@ async function ye(e, t = V) {
|
|
|
94
94
|
name: "Férié : " + c.comment,
|
|
95
95
|
start: N.fromISO(c.date).toISODate(),
|
|
96
96
|
end: N.fromISO(c.date).toISODate(),
|
|
97
|
-
color:
|
|
97
|
+
color: n.b3BusinnessDays,
|
|
98
98
|
timed: !1
|
|
99
99
|
});
|
|
100
100
|
return a;
|
|
101
101
|
})();
|
|
102
102
|
}
|
|
103
|
-
function W(e,
|
|
104
|
-
const { credentials:
|
|
103
|
+
function W(e, n, s) {
|
|
104
|
+
const { credentials: t, myArray: i, chunk: r, fn_to_call: o } = e, a = [];
|
|
105
105
|
for (let c = 0; c < i.length; c += r) {
|
|
106
106
|
const d = i.slice(c, c + r);
|
|
107
107
|
a.push(d);
|
|
108
108
|
}
|
|
109
109
|
X(
|
|
110
|
-
{ credentials:
|
|
110
|
+
{ credentials: t, chunks: a, initLoop: 0, fn: o },
|
|
111
111
|
(c) => {
|
|
112
|
-
|
|
112
|
+
n && n(c);
|
|
113
113
|
},
|
|
114
114
|
(c) => {
|
|
115
115
|
s && s(c);
|
|
116
116
|
}
|
|
117
117
|
);
|
|
118
118
|
}
|
|
119
|
-
function X(e,
|
|
120
|
-
const { credentials:
|
|
119
|
+
function X(e, n, s) {
|
|
120
|
+
const { credentials: t, chunks: i, initLoop: r, fn: o } = e, a = (c) => {
|
|
121
121
|
o(
|
|
122
|
-
|
|
122
|
+
t,
|
|
123
123
|
i[c],
|
|
124
124
|
() => {
|
|
125
125
|
c++, c < i.length && a(c);
|
|
126
126
|
},
|
|
127
127
|
(d) => {
|
|
128
|
-
|
|
128
|
+
n && n(d);
|
|
129
129
|
},
|
|
130
130
|
(d) => {
|
|
131
131
|
s && s(d);
|
|
@@ -134,47 +134,47 @@ function X(e, t, s) {
|
|
|
134
134
|
};
|
|
135
135
|
a(r);
|
|
136
136
|
}
|
|
137
|
-
async function Se(e,
|
|
138
|
-
const
|
|
139
|
-
return
|
|
137
|
+
async function Se(e, n, s = !0) {
|
|
138
|
+
const t = e.events.findIndex((i) => i.uuid === n.uuid);
|
|
139
|
+
return t === -1 ? e.events.push(n) : s ? e.events[t] = n : e.events.splice(t, 1), e.length > 0 && e.sort((i, r) => i.start - r.start), e;
|
|
140
140
|
}
|
|
141
|
-
function m(e,
|
|
141
|
+
function m(e, n) {
|
|
142
142
|
$(["DS/WAFData/WAFData"], (s) => {
|
|
143
|
-
s.authenticatedRequest(e,
|
|
143
|
+
s.authenticatedRequest(e, n);
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
|
-
function _e(e,
|
|
147
|
-
$(["DS/DataDragAndDrop/DataDragAndDrop"], (
|
|
148
|
-
|
|
149
|
-
data:
|
|
146
|
+
function _e(e, n, s) {
|
|
147
|
+
$(["DS/DataDragAndDrop/DataDragAndDrop"], (t) => {
|
|
148
|
+
t.draggable(e, {
|
|
149
|
+
data: n,
|
|
150
150
|
start: s
|
|
151
151
|
});
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
function we(e,
|
|
154
|
+
function we(e, n = void 0) {
|
|
155
155
|
$(["DS/TagNavigatorProxy/TagNavigatorProxy"], (s) => {
|
|
156
|
-
let
|
|
157
|
-
|
|
156
|
+
let t;
|
|
157
|
+
t === void 0 && (t = s.createProxy({
|
|
158
158
|
widgetId: R.id,
|
|
159
159
|
filteringMode: "WithFilteringServices"
|
|
160
|
-
}),
|
|
160
|
+
}), n !== void 0 && t.addEvent("onFilterSubjectsChange", n)), t.setSubjectsTags(e);
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
function Ce(e,
|
|
163
|
+
function Ce(e, n) {
|
|
164
164
|
$(["DS/DataDragAndDrop/DataDragAndDrop"], (s) => {
|
|
165
165
|
s.droppable(e, {
|
|
166
|
-
drop:
|
|
166
|
+
drop: n
|
|
167
167
|
});
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
async function
|
|
170
|
+
async function Te(e, n = void 0, s = void 0) {
|
|
171
171
|
await $(
|
|
172
172
|
["DS/i3DXCompassServices/i3DXCompassServices"],
|
|
173
|
-
(
|
|
174
|
-
(!e || e === "") && (e = R.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0),
|
|
175
|
-
|
|
173
|
+
(t) => {
|
|
174
|
+
(!e || e === "") && (e = R.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), n && n(
|
|
175
|
+
t.getPlatformServices({
|
|
176
176
|
platformId: e,
|
|
177
|
-
onComplete:
|
|
177
|
+
onComplete: n,
|
|
178
178
|
onFailure: s
|
|
179
179
|
})
|
|
180
180
|
);
|
|
@@ -183,29 +183,29 @@ async function be(e, t = void 0, s = void 0) {
|
|
|
183
183
|
}
|
|
184
184
|
function Y() {
|
|
185
185
|
let e = {};
|
|
186
|
-
return $(["DS/PlatformAPI/PlatformAPI"], (
|
|
187
|
-
const s =
|
|
186
|
+
return $(["DS/PlatformAPI/PlatformAPI"], (n) => {
|
|
187
|
+
const s = n.getTenant(), t = n.getUser(), i = n.getAllApplicationConfigurations(), r = n.getApplicationConfiguration(
|
|
188
188
|
"com.3ds.wp.passport.cors"
|
|
189
189
|
);
|
|
190
190
|
e = {
|
|
191
191
|
tenant: s,
|
|
192
|
-
user:
|
|
192
|
+
user: t,
|
|
193
193
|
appsConfiguration: i,
|
|
194
194
|
appConf: r
|
|
195
195
|
};
|
|
196
196
|
}), console.log("%cRETOUR API :", "color:blue", e), e;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function b(e, n = void 0, s = void 0) {
|
|
199
199
|
if (e.tenant) {
|
|
200
|
-
const
|
|
201
|
-
m(
|
|
200
|
+
const t = `https://${e.tenant}-eu1-apps.3dexperience.3ds.com/enovia/resources/AppsMngt/api/v1/services?tenant=${e.tenant}&cors=true&xrequestedwith=xmlhttprequest`;
|
|
201
|
+
m(t, {
|
|
202
202
|
onComplete(i) {
|
|
203
203
|
const r = typeof i == "string" ? JSON.parse(i) : i;
|
|
204
204
|
if (r && "platforms" in r) {
|
|
205
205
|
const o = r.platforms.find(
|
|
206
206
|
(a) => a.id === e.tenant.toUpperCase()
|
|
207
207
|
);
|
|
208
|
-
|
|
208
|
+
n && o ? n(o) : s && s("_getServiceUrl return listServiceUrl = undefined");
|
|
209
209
|
} else
|
|
210
210
|
s && s("_getServiceUrl return oResponse = undefined");
|
|
211
211
|
},
|
|
@@ -215,15 +215,15 @@ function T(e, t = void 0, s = void 0) {
|
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function be(e, n = void 0, s = void 0) {
|
|
219
219
|
if (e.tenant) {
|
|
220
|
-
const
|
|
221
|
-
m(
|
|
220
|
+
const t = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dpassport&platformId=${e.tenant}`;
|
|
221
|
+
m(t, {
|
|
222
222
|
onComplete(i) {
|
|
223
223
|
const r = JSON.parse(i);
|
|
224
224
|
if (console.log("serviceId=3dpassport", r), Array.isArray(r) && r.length > 0) {
|
|
225
225
|
const o = `${r[0].services[0].url}`;
|
|
226
|
-
|
|
226
|
+
n && n(o);
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
onFailure(i) {
|
|
@@ -232,13 +232,13 @@ function Te(e, t = void 0, s = void 0) {
|
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
function Oe(e,
|
|
236
|
-
const
|
|
235
|
+
function Oe(e, n, s) {
|
|
236
|
+
const t = {
|
|
237
237
|
base: `${e.space}`,
|
|
238
238
|
uri: "/resources/AppsMngt/api/custom/applications",
|
|
239
239
|
option: `?filter=${e.tenant}`
|
|
240
240
|
// facultatif
|
|
241
|
-
}, i = `${
|
|
241
|
+
}, i = `${t.base}${t.uri}${t.option}`;
|
|
242
242
|
m(i, {
|
|
243
243
|
method: "GET",
|
|
244
244
|
headers: {
|
|
@@ -250,7 +250,7 @@ function Oe(e, t, s) {
|
|
|
250
250
|
const u = p.attributes.name, f = p.id;
|
|
251
251
|
return { name: u, id: f };
|
|
252
252
|
});
|
|
253
|
-
|
|
253
|
+
n && n(d, c);
|
|
254
254
|
},
|
|
255
255
|
onFailure(r, o) {
|
|
256
256
|
const a = r;
|
|
@@ -258,12 +258,12 @@ function Oe(e, t, s) {
|
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
|
-
function $e(e,
|
|
262
|
-
let
|
|
263
|
-
m(
|
|
261
|
+
function $e(e, n = void 0, s = void 0) {
|
|
262
|
+
let t = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&limit=-1`;
|
|
263
|
+
m(t, {
|
|
264
264
|
onComplete(i, r, o) {
|
|
265
265
|
const a = JSON.parse(i);
|
|
266
|
-
console.log("_AppMngt_get_users => ", a),
|
|
266
|
+
console.log("_AppMngt_get_users => ", a), n && n(a);
|
|
267
267
|
},
|
|
268
268
|
onFailure(i, r) {
|
|
269
269
|
const o = i;
|
|
@@ -271,8 +271,8 @@ function $e(e, t = void 0, s = void 0) {
|
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
|
-
function Ie(e,
|
|
275
|
-
let i = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${
|
|
274
|
+
function Ie(e, n, s = void 0, t = void 0) {
|
|
275
|
+
let i = `${e.space}/resources/AppsMngt/user?platform=${e.tenant}&id=${n}`;
|
|
276
276
|
m(i, {
|
|
277
277
|
onComplete(r, o, a) {
|
|
278
278
|
const c = JSON.parse(r);
|
|
@@ -280,32 +280,32 @@ function Ie(e, t, s = void 0, n = void 0) {
|
|
|
280
280
|
},
|
|
281
281
|
onFailure(r, o) {
|
|
282
282
|
const a = r;
|
|
283
|
-
a.msg = o.errormsg, a.errCode = o.errorcode,
|
|
283
|
+
a.msg = o.errormsg, a.errCode = o.errorcode, t && t(a);
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
|
-
const
|
|
287
|
+
const F = {
|
|
288
288
|
"Content-Type": "application/json",
|
|
289
289
|
Accept: "application/json,text/javascript,*/*"
|
|
290
290
|
};
|
|
291
|
-
function ve(e,
|
|
291
|
+
function ve(e, n, s = void 0, t = void 0) {
|
|
292
292
|
const { space: i, currentUser: r } = e, a = `${i}${{
|
|
293
293
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup"
|
|
294
294
|
}.URIUGr}`, c = {
|
|
295
295
|
groups: [
|
|
296
296
|
{
|
|
297
|
-
title:
|
|
298
|
-
description:
|
|
299
|
-
members:
|
|
297
|
+
title: n.title,
|
|
298
|
+
description: n.description,
|
|
299
|
+
members: n.members || [r.email, "samuel.mureau@beam3.fr"],
|
|
300
300
|
pending_members: [],
|
|
301
|
-
sharing:
|
|
302
|
-
visibility:
|
|
301
|
+
sharing: n.sharing,
|
|
302
|
+
visibility: n.visibility
|
|
303
303
|
}
|
|
304
304
|
]
|
|
305
305
|
};
|
|
306
306
|
m(a, {
|
|
307
307
|
method: "POST",
|
|
308
|
-
headers:
|
|
308
|
+
headers: F,
|
|
309
309
|
data: JSON.stringify(c),
|
|
310
310
|
onComplete(d) {
|
|
311
311
|
s && s(JSON.parse(d));
|
|
@@ -313,12 +313,12 @@ function ve(e, t, s = void 0, n = void 0) {
|
|
|
313
313
|
onFailure(d, p) {
|
|
314
314
|
console.log(d);
|
|
315
315
|
const u = d;
|
|
316
|
-
u.msg = p.errormsg, u.errCode = p.errorcode, console.log("❌ sendDirectMessage => ", u),
|
|
316
|
+
u.msg = p.errormsg, u.errCode = p.errorcode, console.log("❌ sendDirectMessage => ", u), t && t(u);
|
|
317
317
|
}
|
|
318
318
|
});
|
|
319
319
|
}
|
|
320
|
-
function Ne(e,
|
|
321
|
-
const { space: i, tenant: r } = e, o = i, a = `/3drdfpersist/v1/resources/${
|
|
320
|
+
function Ne(e, n, s = void 0, t = void 0) {
|
|
321
|
+
const { space: i, tenant: r } = e, o = i, a = `/3drdfpersist/v1/resources/${n}`, c = `?$mask=dsaccess:Mask.GroupUI.Properties&tenant=dstenant:${r}`, d = `${o}${a}${c}`;
|
|
322
322
|
m(d, {
|
|
323
323
|
opts: {
|
|
324
324
|
method: "GET",
|
|
@@ -332,19 +332,19 @@ function Ne(e, t, s = void 0, n = void 0) {
|
|
|
332
332
|
},
|
|
333
333
|
onFailure(f, l) {
|
|
334
334
|
const g = f;
|
|
335
|
-
g.msg = l.errormsg, g.errCode = l.errorcode,
|
|
335
|
+
g.msg = l.errormsg, g.errCode = l.errorcode, t && t(g);
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
|
-
function q(e,
|
|
340
|
-
const { space:
|
|
339
|
+
function q(e, n = void 0, s = void 0) {
|
|
340
|
+
const { space: t, tenant: i } = e, r = t, o = "/3drdfpersist/resources/v1/option-sets/dsusergroup:ListOfGroupResponsibilities/options", a = `?tenant=dstenant:${i}`, c = {
|
|
341
341
|
method: "GET",
|
|
342
342
|
Accept: "application/json,*/*,test/javascript"
|
|
343
343
|
}, d = `${r}${o}${a}`;
|
|
344
344
|
m(d, {
|
|
345
345
|
OPTsH: c,
|
|
346
346
|
onComplete(p) {
|
|
347
|
-
|
|
347
|
+
n && n(JSON.parse(p));
|
|
348
348
|
},
|
|
349
349
|
onFailure(p, u) {
|
|
350
350
|
const f = p;
|
|
@@ -352,8 +352,8 @@ function q(e, t = void 0, s = void 0) {
|
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
354
|
}
|
|
355
|
-
function ke(e,
|
|
356
|
-
const { space:
|
|
355
|
+
function ke(e, n = void 0, s = void 0) {
|
|
356
|
+
const { space: t, currentUser: i } = e, a = `${t}/3drdfpersist/resources/v1/usersgroup?select=uri,title,description,owner,members,pending_members,creation_date,modification_date,visibility`, d = { method: "GET", headers: {
|
|
357
357
|
"Content-Type": "application/json",
|
|
358
358
|
Accept: "application/json,text/javascript,*/*"
|
|
359
359
|
} };
|
|
@@ -367,7 +367,7 @@ function ke(e, t = void 0, s = void 0) {
|
|
|
367
367
|
f.iam = y, f.UG = l, f.iamMember = h, q(
|
|
368
368
|
e,
|
|
369
369
|
(S) => {
|
|
370
|
-
f.rules = S,
|
|
370
|
+
f.rules = S, n && n(f);
|
|
371
371
|
},
|
|
372
372
|
(S) => {
|
|
373
373
|
s && s(S);
|
|
@@ -383,13 +383,13 @@ function ke(e, t = void 0, s = void 0) {
|
|
|
383
383
|
console.log(p);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function Ae(e,
|
|
387
|
-
const { space: s } = e, i = `${s}/3drdfpersist/resources/v1/usersgroup/${
|
|
386
|
+
function Ae(e, n) {
|
|
387
|
+
const { space: s } = e, i = `${s}/3drdfpersist/resources/v1/usersgroup/${n}`;
|
|
388
388
|
m(i, {
|
|
389
389
|
method: "DELETE"
|
|
390
390
|
});
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function je(e, n, s, t = void 0, i = void 0) {
|
|
393
393
|
const { space: r, tenant: o } = e, a = {
|
|
394
394
|
URITI: "/3drdfpersist/resources/v1/template-instances",
|
|
395
395
|
URIUGr: "/3drdfpersist/resources/v1/usersgroup",
|
|
@@ -398,37 +398,37 @@ function Fe(e, t, s, n = void 0, i = void 0) {
|
|
|
398
398
|
nexURImem: "/members",
|
|
399
399
|
OPTsTI: "?$mask=dsaccess:Mask.GroupUI.Properties",
|
|
400
400
|
OPTsTenant: `tenant=dstenant:${o}`
|
|
401
|
-
}, c = s, d = `${r}${a.URIUGr}/${
|
|
401
|
+
}, c = s, d = `${r}${a.URIUGr}/${n}`, p = JSON.stringify(c);
|
|
402
402
|
m(d, {
|
|
403
|
-
headers:
|
|
403
|
+
headers: F,
|
|
404
404
|
method: "PATCH",
|
|
405
405
|
data: p,
|
|
406
406
|
type: "json",
|
|
407
407
|
onComplete(u) {
|
|
408
|
-
|
|
408
|
+
t && t(u);
|
|
409
409
|
},
|
|
410
410
|
onFailure(u) {
|
|
411
411
|
i && i(u);
|
|
412
412
|
}
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
|
-
function
|
|
416
|
-
const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${
|
|
415
|
+
function Fe(e, n, s, t = void 0, i = void 0) {
|
|
416
|
+
const { space: r } = e, a = `${r}/3drdfpersist/resources/v1/usersgroup/${n}/sharing`;
|
|
417
417
|
m(a, {
|
|
418
418
|
method: "PATCH",
|
|
419
|
-
headers:
|
|
419
|
+
headers: F,
|
|
420
420
|
data: JSON.stringify(s),
|
|
421
421
|
type: "json",
|
|
422
422
|
onComplete(d) {
|
|
423
|
-
|
|
423
|
+
t && t(d);
|
|
424
424
|
},
|
|
425
425
|
onFailure(d) {
|
|
426
426
|
i && i(d);
|
|
427
427
|
}
|
|
428
428
|
});
|
|
429
429
|
}
|
|
430
|
-
function Ue(e,
|
|
431
|
-
const { space: i } = e, o = `${i}/3drdfpersist/resources/v1/usersgroup/${
|
|
430
|
+
function Ue(e, n, s = void 0, t = void 0) {
|
|
431
|
+
const { space: i } = e, o = `${i}/3drdfpersist/resources/v1/usersgroup/${n}/sharing`;
|
|
432
432
|
m(o, {
|
|
433
433
|
opts: {
|
|
434
434
|
method: "GET",
|
|
@@ -441,16 +441,16 @@ function Ue(e, t, s = void 0, n = void 0) {
|
|
|
441
441
|
s && s(JSON.parse(d));
|
|
442
442
|
},
|
|
443
443
|
onFailure(d) {
|
|
444
|
-
|
|
444
|
+
t && t(d);
|
|
445
445
|
}
|
|
446
446
|
});
|
|
447
447
|
}
|
|
448
|
-
async function H(e,
|
|
448
|
+
async function H(e, n, s) {
|
|
449
449
|
if (e.space) {
|
|
450
|
-
const
|
|
451
|
-
m(
|
|
450
|
+
const t = `${e.space}/resources/v1/application/CSRF`;
|
|
451
|
+
m(t, {
|
|
452
452
|
onComplete(i) {
|
|
453
|
-
i = JSON.parse(i),
|
|
453
|
+
i = JSON.parse(i), n && n(i.csrf);
|
|
454
454
|
},
|
|
455
455
|
onFailure(i, r, o) {
|
|
456
456
|
s && s({ error: i, headers: r, xhr: o });
|
|
@@ -459,18 +459,18 @@ async function H(e, t, s) {
|
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
var k = {};
|
|
462
|
-
function z(e,
|
|
463
|
-
return Object.prototype.hasOwnProperty.call(e,
|
|
462
|
+
function z(e, n) {
|
|
463
|
+
return Object.prototype.hasOwnProperty.call(e, n);
|
|
464
464
|
}
|
|
465
|
-
var Q = function(e,
|
|
466
|
-
|
|
465
|
+
var Q = function(e, n, s, t) {
|
|
466
|
+
n = n || "&", s = s || "=";
|
|
467
467
|
var i = {};
|
|
468
468
|
if (typeof e != "string" || e.length === 0)
|
|
469
469
|
return i;
|
|
470
470
|
var r = /\+/g;
|
|
471
|
-
e = e.split(
|
|
471
|
+
e = e.split(n);
|
|
472
472
|
var o = 1e3;
|
|
473
|
-
|
|
473
|
+
t && typeof t.maxKeys == "number" && (o = t.maxKeys);
|
|
474
474
|
var a = e.length;
|
|
475
475
|
o > 0 && a > o && (a = o);
|
|
476
476
|
for (var c = 0; c < a; ++c) {
|
|
@@ -489,41 +489,41 @@ var Q = function(e, t, s, n) {
|
|
|
489
489
|
default:
|
|
490
490
|
return "";
|
|
491
491
|
}
|
|
492
|
-
}, Z = function(e,
|
|
493
|
-
return
|
|
492
|
+
}, Z = function(e, n, s, t) {
|
|
493
|
+
return n = n || "&", s = s || "=", e === null && (e = void 0), typeof e == "object" ? Object.keys(e).map(function(i) {
|
|
494
494
|
var r = encodeURIComponent(v(i)) + s;
|
|
495
495
|
return Array.isArray(e[i]) ? e[i].map(function(o) {
|
|
496
496
|
return r + encodeURIComponent(v(o));
|
|
497
|
-
}).join(
|
|
498
|
-
}).filter(Boolean).join(
|
|
497
|
+
}).join(n) : r + encodeURIComponent(v(e[i]));
|
|
498
|
+
}).filter(Boolean).join(n) : t ? encodeURIComponent(v(t)) + s + encodeURIComponent(v(e)) : "";
|
|
499
499
|
};
|
|
500
500
|
k.decode = k.parse = Q;
|
|
501
501
|
k.encode = k.stringify = Z;
|
|
502
|
-
async function L(e,
|
|
502
|
+
async function L(e, n = void 0, s = void 0, t = void 0) {
|
|
503
503
|
const i = e.space;
|
|
504
|
-
if (
|
|
504
|
+
if (n === void 0) {
|
|
505
505
|
console.log("Le paramètre docid est obligatoire");
|
|
506
506
|
return;
|
|
507
507
|
}
|
|
508
|
-
const r = i + `/resources/v1/modeler/documents/${
|
|
508
|
+
const r = i + `/resources/v1/modeler/documents/${n}`;
|
|
509
509
|
m(r, {
|
|
510
510
|
onComplete(o, a, c) {
|
|
511
511
|
const d = JSON.parse(o);
|
|
512
512
|
s && s(d);
|
|
513
513
|
},
|
|
514
514
|
onFailure(o) {
|
|
515
|
-
|
|
515
|
+
t && t(o);
|
|
516
516
|
}
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
async function xe(e,
|
|
519
|
+
async function xe(e, n = void 0, s = void 0, t = void 0) {
|
|
520
520
|
const i = e.space;
|
|
521
|
-
if (
|
|
521
|
+
if (n === void 0) {
|
|
522
522
|
console.log("Le paramètre docids est obligatoire");
|
|
523
523
|
return;
|
|
524
524
|
}
|
|
525
525
|
let r = `${i}/resources/v1/modeler/documents/ids?$include=!files,!ownerInfo,!originatorInfo,!relOwnerInfo'`, o = k.stringify({
|
|
526
|
-
$ids:
|
|
526
|
+
$ids: n.toString().replace('"', "").replace("[", "").replace("]", "")
|
|
527
527
|
});
|
|
528
528
|
m(r, {
|
|
529
529
|
method: "POST",
|
|
@@ -536,17 +536,17 @@ async function xe(e, t = void 0, s = void 0, n = void 0) {
|
|
|
536
536
|
s && s(p);
|
|
537
537
|
},
|
|
538
538
|
onFailure(a) {
|
|
539
|
-
|
|
539
|
+
t && t(a);
|
|
540
540
|
}
|
|
541
541
|
});
|
|
542
542
|
}
|
|
543
|
-
function A(e,
|
|
543
|
+
function A(e, n = void 0, s = void 0) {
|
|
544
544
|
if (e.objID && e.objID !== "") {
|
|
545
|
-
let
|
|
546
|
-
m(
|
|
545
|
+
let t = `${e.space}/resources/v1/modeler/documents/${e.objID}`;
|
|
546
|
+
m(t, {
|
|
547
547
|
onComplete(i, r, o) {
|
|
548
548
|
const a = JSON.parse(i);
|
|
549
|
-
e.token = a?.csrf?.value, e.datas = a?.data[0],
|
|
549
|
+
e.token = a?.csrf?.value, e.datas = a?.data[0], n && n(e);
|
|
550
550
|
},
|
|
551
551
|
onFailure(i) {
|
|
552
552
|
s && s(i);
|
|
@@ -555,21 +555,21 @@ function A(e, t = void 0, s = void 0) {
|
|
|
555
555
|
} else
|
|
556
556
|
O(
|
|
557
557
|
e,
|
|
558
|
-
(
|
|
559
|
-
console.log("_3DSpace_get_csrf / _3DSpace_csrf",
|
|
558
|
+
(t) => {
|
|
559
|
+
console.log("_3DSpace_get_csrf / _3DSpace_csrf", t), n && n(t);
|
|
560
560
|
},
|
|
561
|
-
(
|
|
562
|
-
s && s(
|
|
561
|
+
(t) => {
|
|
562
|
+
s && s(t);
|
|
563
563
|
}
|
|
564
564
|
);
|
|
565
565
|
}
|
|
566
|
-
function O(e,
|
|
566
|
+
function O(e, n = void 0, s = void 0) {
|
|
567
567
|
if (e.space) {
|
|
568
|
-
const
|
|
569
|
-
m(
|
|
568
|
+
const t = e.space + "/resources/v1/application/CSRF";
|
|
569
|
+
m(t, {
|
|
570
570
|
onComplete(i, r, o) {
|
|
571
571
|
const a = JSON.parse(i);
|
|
572
|
-
|
|
572
|
+
n && n(a.csrf.value);
|
|
573
573
|
},
|
|
574
574
|
onFailure(i, r, o) {
|
|
575
575
|
s && s({
|
|
@@ -582,19 +582,19 @@ function O(e, t = void 0, s = void 0) {
|
|
|
582
582
|
} else
|
|
583
583
|
s && s("ERROR : url du 3DSpace non défini.");
|
|
584
584
|
}
|
|
585
|
-
function U(e,
|
|
586
|
-
let
|
|
585
|
+
function U(e, n = void 0, s = void 0) {
|
|
586
|
+
let t = e.space + `/resources/v1/modeler/documents/${e.objID}/files/DownloadTicket`;
|
|
587
587
|
A(
|
|
588
588
|
e,
|
|
589
589
|
(i) => {
|
|
590
|
-
m(
|
|
590
|
+
m(t, {
|
|
591
591
|
method: "PUT",
|
|
592
592
|
headers: {
|
|
593
593
|
ENO_CSRF_TOKEN: e.token
|
|
594
594
|
},
|
|
595
595
|
onComplete(r, o) {
|
|
596
596
|
const c = JSON.parse(r).data[0].dataelements.ticketURL;
|
|
597
|
-
|
|
597
|
+
n && n(c, o);
|
|
598
598
|
},
|
|
599
599
|
onFailure(r, o) {
|
|
600
600
|
console.warn("☠️ error => ", r, o), s && s(r, o);
|
|
@@ -606,8 +606,8 @@ function U(e, t = void 0, s = void 0) {
|
|
|
606
606
|
}
|
|
607
607
|
);
|
|
608
608
|
}
|
|
609
|
-
function Pe(e,
|
|
610
|
-
const r = `${e.space}/resources/v1/modeler/documents/${
|
|
609
|
+
function Pe(e, n, s, t = void 0, i = void 0) {
|
|
610
|
+
const r = `${e.space}/resources/v1/modeler/documents/${n}/files/DownloadTicket`;
|
|
611
611
|
s || (s = e.token), m(r, {
|
|
612
612
|
method: "PUT",
|
|
613
613
|
headers: {
|
|
@@ -618,7 +618,7 @@ function Pe(e, t, s, n = void 0, i = void 0) {
|
|
|
618
618
|
if (console.log("☠️ info => ", a), a.success === !0)
|
|
619
619
|
try {
|
|
620
620
|
const c = a.data[0].dataelements.ticketURL;
|
|
621
|
-
|
|
621
|
+
t && t(c);
|
|
622
622
|
} catch (c) {
|
|
623
623
|
i && i(c);
|
|
624
624
|
}
|
|
@@ -628,12 +628,12 @@ function Pe(e, t, s, n = void 0, i = void 0) {
|
|
|
628
628
|
}
|
|
629
629
|
});
|
|
630
630
|
}
|
|
631
|
-
function M(e,
|
|
631
|
+
function M(e, n, s, t, i, r = void 0, o = void 0) {
|
|
632
632
|
const a = () => ee(
|
|
633
633
|
e,
|
|
634
|
-
t,
|
|
635
|
-
s,
|
|
636
634
|
n,
|
|
635
|
+
s,
|
|
636
|
+
t,
|
|
637
637
|
i,
|
|
638
638
|
e.token,
|
|
639
639
|
r,
|
|
@@ -641,14 +641,14 @@ function M(e, t, s, n, i, r = void 0, o = void 0) {
|
|
|
641
641
|
);
|
|
642
642
|
e.token ? a() : A(
|
|
643
643
|
e,
|
|
644
|
-
|
|
644
|
+
n,
|
|
645
645
|
(c) => {
|
|
646
646
|
e.token = c.csrf.value, a();
|
|
647
647
|
}
|
|
648
648
|
);
|
|
649
649
|
}
|
|
650
|
-
function ee(e,
|
|
651
|
-
const c = e.space + `/resources/v1/modeler/documents/${
|
|
650
|
+
function ee(e, n, s, t, i, r, o = void 0, a = void 0) {
|
|
651
|
+
const c = e.space + `/resources/v1/modeler/documents/${n}/files/CheckinTicket`;
|
|
652
652
|
m(c, {
|
|
653
653
|
method: "PUT",
|
|
654
654
|
headers: {
|
|
@@ -657,7 +657,7 @@ function ee(e, t, s, n, i, r, o = void 0, a = void 0) {
|
|
|
657
657
|
onComplete(d, p, u) {
|
|
658
658
|
const f = JSON.parse(d).csrf, l = JSON.parse(d).data[0].dataelements, g = new FormData();
|
|
659
659
|
let h;
|
|
660
|
-
|
|
660
|
+
t instanceof Blob ? h = t : h = new Blob([t], {
|
|
661
661
|
type: "text/plain"
|
|
662
662
|
}), g.append("__fcs__jobTicket", l.ticket), g.append("file_0", h, i);
|
|
663
663
|
const y = {};
|
|
@@ -682,17 +682,17 @@ function ee(e, t, s, n, i, r, o = void 0, a = void 0) {
|
|
|
682
682
|
}
|
|
683
683
|
]
|
|
684
684
|
},
|
|
685
|
-
id:
|
|
685
|
+
id: n,
|
|
686
686
|
updateAction: "NONE"
|
|
687
687
|
}
|
|
688
688
|
]
|
|
689
689
|
}),
|
|
690
690
|
type: "json",
|
|
691
|
-
onComplete(
|
|
692
|
-
o && o(
|
|
691
|
+
onComplete(T) {
|
|
692
|
+
o && o(T);
|
|
693
693
|
},
|
|
694
|
-
onFailure(
|
|
695
|
-
a && a(
|
|
694
|
+
onFailure(T) {
|
|
695
|
+
a && a(T);
|
|
696
696
|
}
|
|
697
697
|
}, w = e.tenant.toUpperCase();
|
|
698
698
|
m(
|
|
@@ -705,20 +705,20 @@ function ee(e, t, s, n, i, r, o = void 0, a = void 0) {
|
|
|
705
705
|
}
|
|
706
706
|
});
|
|
707
707
|
}
|
|
708
|
-
async function Re(e,
|
|
708
|
+
async function Re(e, n, s, t = void 0, i = void 0) {
|
|
709
709
|
e.space, e.token, e.ctx, L(
|
|
710
710
|
e,
|
|
711
|
-
|
|
711
|
+
n,
|
|
712
712
|
(r) => {
|
|
713
713
|
const o = r.data[0].relateddata.files[0].id, a = r.data[0].dataelements.secondaryTitle && r.data[0].dataelements.secondaryTitle !== "" ? r.data[0].dataelements.secondaryTitle : r.data[0].dataelements.title;
|
|
714
714
|
M(
|
|
715
715
|
e,
|
|
716
|
-
|
|
716
|
+
n,
|
|
717
717
|
o,
|
|
718
718
|
s,
|
|
719
719
|
a,
|
|
720
720
|
(c) => {
|
|
721
|
-
|
|
721
|
+
t && t(c);
|
|
722
722
|
},
|
|
723
723
|
(c) => {
|
|
724
724
|
i && i(c);
|
|
@@ -730,7 +730,7 @@ async function Re(e, t, s, n = void 0, i = void 0) {
|
|
|
730
730
|
}
|
|
731
731
|
);
|
|
732
732
|
}
|
|
733
|
-
async function De(e,
|
|
733
|
+
async function De(e, n, s, t, i = void 0, r = void 0) {
|
|
734
734
|
const o = e.space, a = e.token, c = e.ctx;
|
|
735
735
|
if (o !== "") {
|
|
736
736
|
let d = `${o}/resources/v1/modeler/documents/files/CheckinTicket`;
|
|
@@ -741,7 +741,7 @@ async function De(e, t, s, n, i = void 0, r = void 0) {
|
|
|
741
741
|
},
|
|
742
742
|
onComplete(p, u, f) {
|
|
743
743
|
let l = JSON.parse(p).data[0].dataelements, g = new FormData(), h;
|
|
744
|
-
|
|
744
|
+
n instanceof Blob ? h = n : h = new Blob([n], {
|
|
745
745
|
type: "text/plain"
|
|
746
746
|
}), g.append("__fcs__jobTicket", l.ticket), g.append("filename", h, s);
|
|
747
747
|
const y = (_) => _.indexOf(".") === -1 ? _ : _.split(".").slice(0, -1).join(".");
|
|
@@ -749,7 +749,7 @@ async function De(e, t, s, n, i = void 0, r = void 0) {
|
|
|
749
749
|
method: "POST",
|
|
750
750
|
data: g,
|
|
751
751
|
onComplete(_) {
|
|
752
|
-
let w = D(),
|
|
752
|
+
let w = D(), T = {
|
|
753
753
|
method: "POST",
|
|
754
754
|
headers: {
|
|
755
755
|
ENO_CSRF_TOKEN: a,
|
|
@@ -762,7 +762,7 @@ async function De(e, t, s, n, i = void 0, r = void 0) {
|
|
|
762
762
|
type: "Document",
|
|
763
763
|
dataelements: {
|
|
764
764
|
title: y(s),
|
|
765
|
-
description:
|
|
765
|
+
description: t,
|
|
766
766
|
policy: "Document Release"
|
|
767
767
|
},
|
|
768
768
|
relateddata: {
|
|
@@ -789,7 +789,7 @@ async function De(e, t, s, n, i = void 0, r = void 0) {
|
|
|
789
789
|
};
|
|
790
790
|
m(
|
|
791
791
|
o + "/resources/v1/modeler/documents/?SecurityContext=ctx::" + c,
|
|
792
|
-
|
|
792
|
+
T
|
|
793
793
|
);
|
|
794
794
|
},
|
|
795
795
|
onFailure(_) {
|
|
@@ -802,17 +802,17 @@ async function De(e, t, s, n, i = void 0, r = void 0) {
|
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
|
-
function
|
|
805
|
+
function j(e, n = void 0, s = void 0, t = void 0, i = void 0, r = void 0, o = !1) {
|
|
806
806
|
const a = `${e.space}/resources/modeler/pno/person?current=true&select=preferredcredentials&select=collabspaces`;
|
|
807
807
|
m(a, {
|
|
808
808
|
method: "GET",
|
|
809
809
|
onComplete(c) {
|
|
810
810
|
const d = JSON.parse(c);
|
|
811
811
|
let p = "", u, f, l;
|
|
812
|
-
if (
|
|
813
|
-
let g = d.collabspaces.find((h) => h.title ===
|
|
812
|
+
if (n) {
|
|
813
|
+
let g = d.collabspaces.find((h) => h.title === n);
|
|
814
814
|
if (g) {
|
|
815
|
-
u =
|
|
815
|
+
u = n;
|
|
816
816
|
let h = g.couples;
|
|
817
817
|
h = h.filter(
|
|
818
818
|
(y, S, _) => S === _.findIndex(
|
|
@@ -820,8 +820,8 @@ function F(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, o = !1
|
|
|
820
820
|
)
|
|
821
821
|
), s && (Array.isArray(s) ? s.forEach((y) => {
|
|
822
822
|
l || h.forEach((S) => {
|
|
823
|
-
if (y === S.role.name &&
|
|
824
|
-
l = y, f =
|
|
823
|
+
if (y === S.role.name && t === S.organization.title)
|
|
824
|
+
l = y, f = t;
|
|
825
825
|
else if (y === S.role.name) {
|
|
826
826
|
let _ = h.filter(
|
|
827
827
|
(w) => w.role.name === y
|
|
@@ -830,8 +830,8 @@ function F(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, o = !1
|
|
|
830
830
|
}
|
|
831
831
|
});
|
|
832
832
|
}) : h.forEach((y) => {
|
|
833
|
-
if (s === y.role.name &&
|
|
834
|
-
l = s, f =
|
|
833
|
+
if (s === y.role.name && t === y.organization.title)
|
|
834
|
+
l = s, f = t;
|
|
835
835
|
else if (s === y.role.name) {
|
|
836
836
|
let S = h.filter(
|
|
837
837
|
(_) => _.role.name === s
|
|
@@ -851,7 +851,7 @@ function F(e, t = void 0, s = void 0, n = void 0, i = void 0, r = void 0, o = !1
|
|
|
851
851
|
}
|
|
852
852
|
});
|
|
853
853
|
}
|
|
854
|
-
async function J(e,
|
|
854
|
+
async function J(e, n = void 0, s = void 0) {
|
|
855
855
|
return (!e.objID || e.objID === "") && (console.warn(
|
|
856
856
|
"_3DSpace_download_doc() / Le paramètre objectId est obligatoire"
|
|
857
857
|
), s && s(
|
|
@@ -860,18 +860,18 @@ async function J(e, t = void 0, s = void 0) {
|
|
|
860
860
|
"_3DSpace_download_doc() / Le paramètre space est obligatoire"
|
|
861
861
|
), s && s("_3DSpace_download_doc() / Le paramètre space est obligatoire")), (e.token === "" || !e.token) && H(
|
|
862
862
|
e,
|
|
863
|
-
(
|
|
864
|
-
e.token =
|
|
863
|
+
(t) => {
|
|
864
|
+
e.token = t;
|
|
865
865
|
},
|
|
866
|
-
(
|
|
867
|
-
console.log("☠️ error => ",
|
|
866
|
+
(t) => {
|
|
867
|
+
console.log("☠️ error => ", t);
|
|
868
868
|
}
|
|
869
|
-
), new Promise((
|
|
869
|
+
), new Promise((t, i) => {
|
|
870
870
|
U(
|
|
871
871
|
e,
|
|
872
872
|
(r) => {
|
|
873
873
|
e?.returnType === "blob" ? (console.log("ticketURL blob", r), fetch(r).then((o) => o.blob()).then((o) => {
|
|
874
|
-
|
|
874
|
+
n && n(o);
|
|
875
875
|
}).catch((o) => {
|
|
876
876
|
s && s(o);
|
|
877
877
|
})) : m(r, {
|
|
@@ -882,7 +882,7 @@ async function J(e, t = void 0, s = void 0) {
|
|
|
882
882
|
} catch {
|
|
883
883
|
a = o;
|
|
884
884
|
}
|
|
885
|
-
|
|
885
|
+
n && typeof n == "function" && n(a), t(a);
|
|
886
886
|
},
|
|
887
887
|
onFailure(o, a, c) {
|
|
888
888
|
s && (console.log("error http", o), s({
|
|
@@ -903,23 +903,23 @@ async function J(e, t = void 0, s = void 0) {
|
|
|
903
903
|
);
|
|
904
904
|
});
|
|
905
905
|
}
|
|
906
|
-
async function te(e,
|
|
907
|
-
typeof
|
|
906
|
+
async function te(e, n, s = void 0, t = void 0) {
|
|
907
|
+
typeof n < "u" && Array.isArray(n) && n?.length > 0 ? W({
|
|
908
908
|
credentials: e,
|
|
909
|
-
myArray:
|
|
909
|
+
myArray: n,
|
|
910
910
|
chunk: 80,
|
|
911
911
|
fn_to_call: ne
|
|
912
912
|
}, (r) => {
|
|
913
913
|
s && s(r);
|
|
914
914
|
}) : (console.warn(
|
|
915
915
|
"La liste d'objects dans la fonction _3DSpace_download_multidoc est vide ou non défini."
|
|
916
|
-
),
|
|
916
|
+
), t && t(
|
|
917
917
|
"La liste d'objects dans la fonction _3DSpace_download_multidoc est vide ou non défini."
|
|
918
918
|
));
|
|
919
919
|
}
|
|
920
|
-
function ne(e,
|
|
920
|
+
function ne(e, n, s = void 0, t = void 0, i = void 0) {
|
|
921
921
|
const r = [];
|
|
922
|
-
|
|
922
|
+
n.forEach((c) => {
|
|
923
923
|
r.push({
|
|
924
924
|
id: c
|
|
925
925
|
});
|
|
@@ -949,7 +949,7 @@ function ne(e, t, s = void 0, n = void 0, i = void 0) {
|
|
|
949
949
|
} catch {
|
|
950
950
|
h = l.blob();
|
|
951
951
|
}
|
|
952
|
-
|
|
952
|
+
t && t({
|
|
953
953
|
objectId: p.id,
|
|
954
954
|
headers: g,
|
|
955
955
|
fileName: u,
|
|
@@ -970,9 +970,9 @@ function ne(e, t, s = void 0, n = void 0, i = void 0) {
|
|
|
970
970
|
}
|
|
971
971
|
});
|
|
972
972
|
}
|
|
973
|
-
function Le(e,
|
|
973
|
+
function Le(e, n, s = void 0, t = void 0) {
|
|
974
974
|
return new Promise((i) => {
|
|
975
|
-
if (e.token === "" && O(e),
|
|
975
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
976
976
|
const r = `${e.space}/resources/v1/modeler/dslc/maturity/getNextStates`;
|
|
977
977
|
let o = {
|
|
978
978
|
method: "POST",
|
|
@@ -985,7 +985,7 @@ function Le(e, t, s = void 0, n = void 0) {
|
|
|
985
985
|
data: JSON.stringify({
|
|
986
986
|
data: [
|
|
987
987
|
{
|
|
988
|
-
id:
|
|
988
|
+
id: n
|
|
989
989
|
}
|
|
990
990
|
]
|
|
991
991
|
}),
|
|
@@ -994,16 +994,16 @@ function Le(e, t, s = void 0, n = void 0) {
|
|
|
994
994
|
s && s(a);
|
|
995
995
|
},
|
|
996
996
|
onFailure(a) {
|
|
997
|
-
|
|
997
|
+
t && t(a);
|
|
998
998
|
}
|
|
999
999
|
};
|
|
1000
1000
|
m(r, o);
|
|
1001
1001
|
}
|
|
1002
1002
|
});
|
|
1003
1003
|
}
|
|
1004
|
-
function Me(e,
|
|
1004
|
+
function Me(e, n, s, t = void 0, i = void 0) {
|
|
1005
1005
|
return new Promise((r) => {
|
|
1006
|
-
if (e.token === "" && O(e),
|
|
1006
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1007
1007
|
const o = `${e.space}/resources/v1/modeler/dslc/maturity/changeState`;
|
|
1008
1008
|
let a = {
|
|
1009
1009
|
method: "POST",
|
|
@@ -1016,14 +1016,14 @@ function Me(e, t, s, n = void 0, i = void 0) {
|
|
|
1016
1016
|
data: JSON.stringify({
|
|
1017
1017
|
data: [
|
|
1018
1018
|
{
|
|
1019
|
-
id:
|
|
1019
|
+
id: n,
|
|
1020
1020
|
nextState: s
|
|
1021
1021
|
}
|
|
1022
1022
|
]
|
|
1023
1023
|
}),
|
|
1024
1024
|
type: "json",
|
|
1025
1025
|
onComplete(c) {
|
|
1026
|
-
|
|
1026
|
+
t && t(c);
|
|
1027
1027
|
},
|
|
1028
1028
|
onFailure(c) {
|
|
1029
1029
|
i && i(c);
|
|
@@ -1033,11 +1033,11 @@ function Me(e, t, s, n = void 0, i = void 0) {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
});
|
|
1035
1035
|
}
|
|
1036
|
-
function Je(e,
|
|
1036
|
+
function Je(e, n, s = void 0, t = void 0) {
|
|
1037
1037
|
return new Promise((i) => {
|
|
1038
|
-
if (e.token === "" && O(e),
|
|
1038
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1039
1039
|
const r = `${e.space}/resources/v1/dslc/versiongraph?withThumbnail=0&withIsLastVersion=0&withAttributes=0&withCopyFrom=0&tenant=${e.tenant}`;
|
|
1040
|
-
|
|
1040
|
+
j(
|
|
1041
1041
|
e.space,
|
|
1042
1042
|
"ESPACE COMMUN",
|
|
1043
1043
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1058,7 +1058,7 @@ function Je(e, t, s = void 0, n = void 0) {
|
|
|
1058
1058
|
data: JSON.stringify({
|
|
1059
1059
|
graphRequests: [
|
|
1060
1060
|
{
|
|
1061
|
-
id:
|
|
1061
|
+
id: n
|
|
1062
1062
|
}
|
|
1063
1063
|
]
|
|
1064
1064
|
}),
|
|
@@ -1067,18 +1067,18 @@ function Je(e, t, s = void 0, n = void 0) {
|
|
|
1067
1067
|
s && s(a);
|
|
1068
1068
|
},
|
|
1069
1069
|
onFailure(a) {
|
|
1070
|
-
|
|
1070
|
+
t && t(a);
|
|
1071
1071
|
}
|
|
1072
1072
|
};
|
|
1073
1073
|
m(r, o);
|
|
1074
1074
|
}
|
|
1075
1075
|
});
|
|
1076
1076
|
}
|
|
1077
|
-
function Ge(e,
|
|
1077
|
+
function Ge(e, n, s = void 0, t = void 0) {
|
|
1078
1078
|
return new Promise((i) => {
|
|
1079
|
-
if (e.token === "" && O(e),
|
|
1079
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1080
1080
|
const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
|
|
1081
|
-
|
|
1081
|
+
j(
|
|
1082
1082
|
e.space,
|
|
1083
1083
|
"ESPACE COMMUN",
|
|
1084
1084
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1100,10 +1100,10 @@ function Ge(e, t, s = void 0, n = void 0) {
|
|
|
1100
1100
|
data: [
|
|
1101
1101
|
{
|
|
1102
1102
|
"attribute[PLMReference.V_versionComment]": null,
|
|
1103
|
-
physicalid:
|
|
1103
|
+
physicalid: n,
|
|
1104
1104
|
type: "Document",
|
|
1105
1105
|
tenant: e.tenant,
|
|
1106
|
-
objectId:
|
|
1106
|
+
objectId: n,
|
|
1107
1107
|
policy: "Document Release",
|
|
1108
1108
|
availableSemantic: ["E", "LAST", "NEW", "DUP"]
|
|
1109
1109
|
}
|
|
@@ -1114,18 +1114,18 @@ function Ge(e, t, s = void 0, n = void 0) {
|
|
|
1114
1114
|
s && s(a);
|
|
1115
1115
|
},
|
|
1116
1116
|
onFailure(a) {
|
|
1117
|
-
|
|
1117
|
+
t && t(a);
|
|
1118
1118
|
}
|
|
1119
1119
|
};
|
|
1120
1120
|
m(r, o);
|
|
1121
1121
|
}
|
|
1122
1122
|
});
|
|
1123
1123
|
}
|
|
1124
|
-
function Ee(e,
|
|
1124
|
+
function Ee(e, n, s, t = void 0, i = void 0) {
|
|
1125
1125
|
return new Promise((r) => {
|
|
1126
|
-
if (e.token === "" && O(e),
|
|
1126
|
+
if (e.token === "" && O(e), n !== void 0 && n !== "" && n !== null) {
|
|
1127
1127
|
const o = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
|
|
1128
|
-
|
|
1128
|
+
j(
|
|
1129
1129
|
e.space,
|
|
1130
1130
|
"ESPACE COMMUN",
|
|
1131
1131
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -1146,7 +1146,7 @@ function Ee(e, t, s, n = void 0, i = void 0) {
|
|
|
1146
1146
|
data: JSON.stringify({
|
|
1147
1147
|
data: [
|
|
1148
1148
|
{
|
|
1149
|
-
physicalid:
|
|
1149
|
+
physicalid: n,
|
|
1150
1150
|
proposedRevision: s,
|
|
1151
1151
|
modifiedAttributes: {
|
|
1152
1152
|
revision: s
|
|
@@ -1158,7 +1158,7 @@ function Ee(e, t, s, n = void 0, i = void 0) {
|
|
|
1158
1158
|
}),
|
|
1159
1159
|
type: "json",
|
|
1160
1160
|
onComplete(c) {
|
|
1161
|
-
|
|
1161
|
+
t && t(c);
|
|
1162
1162
|
},
|
|
1163
1163
|
onFailure(c) {
|
|
1164
1164
|
i && i(c);
|
|
@@ -1168,19 +1168,19 @@ function Ee(e, t, s, n = void 0, i = void 0) {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
});
|
|
1170
1170
|
}
|
|
1171
|
-
function Ke(e,
|
|
1171
|
+
function Ke(e, n, s, t, i = void 0, r = void 0) {
|
|
1172
1172
|
return new Promise((o) => {
|
|
1173
1173
|
const a = `${e.space}/resources/v1/modeler/dsbks/dsbks:Bookmark`;
|
|
1174
1174
|
let c = {
|
|
1175
1175
|
attributes: {
|
|
1176
1176
|
title: s,
|
|
1177
|
-
description:
|
|
1177
|
+
description: t,
|
|
1178
1178
|
inheritedAccess: "no"
|
|
1179
1179
|
}
|
|
1180
1180
|
}, d = {
|
|
1181
1181
|
items: []
|
|
1182
1182
|
};
|
|
1183
|
-
|
|
1183
|
+
n && (d.parentId = n), d.items.push(c);
|
|
1184
1184
|
let p = {
|
|
1185
1185
|
method: "POST",
|
|
1186
1186
|
headers: {
|
|
@@ -1201,7 +1201,7 @@ function Ke(e, t, s, n, i = void 0, r = void 0) {
|
|
|
1201
1201
|
m(a, p);
|
|
1202
1202
|
});
|
|
1203
1203
|
}
|
|
1204
|
-
function Be(e,
|
|
1204
|
+
function Be(e, n, s, t, i = void 0, r = void 0) {
|
|
1205
1205
|
return console.log("credentials", e), new Promise((o) => {
|
|
1206
1206
|
`${e.space}`, JSON.stringify({
|
|
1207
1207
|
csrf: {
|
|
@@ -1212,11 +1212,11 @@ function Be(e, t, s, n, i = void 0, r = void 0) {
|
|
|
1212
1212
|
{
|
|
1213
1213
|
type: "Workspace",
|
|
1214
1214
|
cestamp: "businessobject",
|
|
1215
|
-
relId:
|
|
1216
|
-
id:
|
|
1215
|
+
relId: n,
|
|
1216
|
+
id: n,
|
|
1217
1217
|
dataelements: {
|
|
1218
1218
|
personList: s,
|
|
1219
|
-
eventsList:
|
|
1219
|
+
eventsList: t
|
|
1220
1220
|
},
|
|
1221
1221
|
tenant: e.tenant
|
|
1222
1222
|
}
|
|
@@ -1225,12 +1225,12 @@ function Be(e, t, s, n, i = void 0, r = void 0) {
|
|
|
1225
1225
|
});
|
|
1226
1226
|
}
|
|
1227
1227
|
//!SECTION
|
|
1228
|
-
function Ve(e,
|
|
1229
|
-
const
|
|
1228
|
+
function Ve(e, n = void 0, s = void 0) {
|
|
1229
|
+
const t = {
|
|
1230
1230
|
base: `${e.space}`,
|
|
1231
1231
|
uri: "/resources/bps/cspaces",
|
|
1232
1232
|
optTenant: `tenant=${e.tenant}`
|
|
1233
|
-
}, i = `${
|
|
1233
|
+
}, i = `${t.base}${t.uri}?${t.optTenant}`;
|
|
1234
1234
|
m(i, {
|
|
1235
1235
|
method: "GET",
|
|
1236
1236
|
headers: {
|
|
@@ -1239,17 +1239,17 @@ function Ve(e, t = void 0, s = void 0) {
|
|
|
1239
1239
|
},
|
|
1240
1240
|
onComplete(r, o) {
|
|
1241
1241
|
const a = JSON.parse(r);
|
|
1242
|
-
|
|
1242
|
+
n && n(a, o);
|
|
1243
1243
|
},
|
|
1244
1244
|
onFailure(r, o, a) {
|
|
1245
1245
|
s && s({ response: r, headers: o, xhr: a });
|
|
1246
1246
|
}
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
|
-
function We(e,
|
|
1249
|
+
function We(e, n, s, t) {
|
|
1250
1250
|
U(
|
|
1251
1251
|
e.space,
|
|
1252
|
-
|
|
1252
|
+
n,
|
|
1253
1253
|
(i) => {
|
|
1254
1254
|
m(i, {
|
|
1255
1255
|
header: { ENO_CSRF_TOKEN: e.token },
|
|
@@ -1257,26 +1257,26 @@ function We(e, t, s, n) {
|
|
|
1257
1257
|
s && s(r);
|
|
1258
1258
|
},
|
|
1259
1259
|
onFailure: (r) => {
|
|
1260
|
-
console.log("error http", r),
|
|
1260
|
+
console.log("error http", r), t && t(r);
|
|
1261
1261
|
}
|
|
1262
1262
|
});
|
|
1263
1263
|
}
|
|
1264
1264
|
);
|
|
1265
1265
|
}
|
|
1266
|
-
async function Xe(e,
|
|
1266
|
+
async function Xe(e, n, s = void 0, t = void 0) {
|
|
1267
1267
|
return new Promise((i) => {
|
|
1268
|
-
U(e,
|
|
1268
|
+
U(e, n, (r) => {
|
|
1269
1269
|
m(r, {
|
|
1270
1270
|
onComplete: (o, a, c) => (i(JSON.parse(o)), s && s(JSON.parse(o), a, c), i),
|
|
1271
1271
|
onFailure: (o, a, c) => {
|
|
1272
|
-
|
|
1272
|
+
t && t(o, a, c), console.log(o, a?.errormsg);
|
|
1273
1273
|
}
|
|
1274
1274
|
});
|
|
1275
1275
|
});
|
|
1276
1276
|
});
|
|
1277
1277
|
}
|
|
1278
|
-
function Ye(e,
|
|
1279
|
-
const r = new Blob([JSON.stringify(
|
|
1278
|
+
function Ye(e, n, s, t = void 0, i = void 0) {
|
|
1279
|
+
const r = new Blob([JSON.stringify(n)], { type: "text/plain" });
|
|
1280
1280
|
A(
|
|
1281
1281
|
e,
|
|
1282
1282
|
s,
|
|
@@ -1289,7 +1289,7 @@ function Ye(e, t, s, n = void 0, i = void 0) {
|
|
|
1289
1289
|
r,
|
|
1290
1290
|
c,
|
|
1291
1291
|
(d) => {
|
|
1292
|
-
|
|
1292
|
+
t && t(d);
|
|
1293
1293
|
},
|
|
1294
1294
|
(d) => {
|
|
1295
1295
|
i && i(d);
|
|
@@ -1300,39 +1300,39 @@ function Ye(e, t, s, n = void 0, i = void 0) {
|
|
|
1300
1300
|
}
|
|
1301
1301
|
let G, E;
|
|
1302
1302
|
const x = [];
|
|
1303
|
-
async function qe(e,
|
|
1303
|
+
async function qe(e, n = void 0, s = void 0) {
|
|
1304
1304
|
e.objID && e.objID !== "" ? A(
|
|
1305
1305
|
e,
|
|
1306
|
-
(
|
|
1307
|
-
|
|
1306
|
+
(t) => {
|
|
1307
|
+
n && n(t);
|
|
1308
1308
|
},
|
|
1309
|
-
(
|
|
1310
|
-
s && s(
|
|
1309
|
+
(t) => {
|
|
1310
|
+
s && s(t);
|
|
1311
1311
|
}
|
|
1312
1312
|
) : (e.objID === null || e.objID === "") && O(
|
|
1313
1313
|
e,
|
|
1314
|
-
(
|
|
1315
|
-
|
|
1314
|
+
(t) => {
|
|
1315
|
+
n && n({ rep: t, msg: "Pas d'objID, ou invalide" });
|
|
1316
1316
|
},
|
|
1317
|
-
(
|
|
1318
|
-
s && s({ msg: "Pas d'objID et erreur sur le Space", err:
|
|
1317
|
+
(t) => {
|
|
1318
|
+
s && s({ msg: "Pas d'objID et erreur sur le Space", err: t });
|
|
1319
1319
|
}
|
|
1320
1320
|
);
|
|
1321
1321
|
}
|
|
1322
|
-
async function He(e,
|
|
1322
|
+
async function He(e, n = void 0, s = void 0) {
|
|
1323
1323
|
console.log("getDatasByTenant (getDocuments)", e), await J(
|
|
1324
1324
|
e,
|
|
1325
|
-
(
|
|
1325
|
+
(t) => {
|
|
1326
1326
|
const i = {};
|
|
1327
|
-
i.obj =
|
|
1327
|
+
i.obj = t, console.log("getDatasByTenant (getDocuments) _datas", i), n && n?.(i);
|
|
1328
1328
|
},
|
|
1329
|
-
(
|
|
1330
|
-
s && s?.(
|
|
1329
|
+
(t) => {
|
|
1330
|
+
s && s?.(t);
|
|
1331
1331
|
}
|
|
1332
1332
|
);
|
|
1333
1333
|
}
|
|
1334
|
-
function ze(e,
|
|
1335
|
-
const
|
|
1334
|
+
function ze(e, n = void 0, s = void 0) {
|
|
1335
|
+
const t = [];
|
|
1336
1336
|
if (!e.objIds && !Array.isArray(e.objIds) && e.objIds.length === 0) {
|
|
1337
1337
|
console.warn("la liste est vide ou n'est pas un tableau");
|
|
1338
1338
|
return;
|
|
@@ -1342,21 +1342,21 @@ function ze(e, t = void 0, s = void 0) {
|
|
|
1342
1342
|
e,
|
|
1343
1343
|
i.objID,
|
|
1344
1344
|
(o) => {
|
|
1345
|
-
|
|
1345
|
+
t.push({ [i.name]: o }), i.name === "dbProjets" && (G = o.affaires.map((a) => a.objectID), se(e, E)), r === e.objIds.length - 1 && (n && n(t), delete e.objIds, delete e.datas);
|
|
1346
1346
|
}
|
|
1347
1347
|
);
|
|
1348
1348
|
});
|
|
1349
1349
|
}
|
|
1350
|
-
function se(e,
|
|
1350
|
+
function se(e, n, s = void 0, t = void 0) {
|
|
1351
1351
|
te(
|
|
1352
1352
|
e,
|
|
1353
1353
|
G,
|
|
1354
1354
|
(i) => {
|
|
1355
|
-
const r = [...
|
|
1355
|
+
const r = [...n];
|
|
1356
1356
|
r.find((o) => o.objectID === i.objectId).data = i.data, E = r, x.push(i.data), s && s(x);
|
|
1357
1357
|
},
|
|
1358
1358
|
(i) => {
|
|
1359
|
-
|
|
1359
|
+
t && (t(i), console.log(i));
|
|
1360
1360
|
}
|
|
1361
1361
|
);
|
|
1362
1362
|
}
|
|
@@ -1380,8 +1380,8 @@ const ie = "FA35FB9B177A280065800EA0000F599C", ae = [
|
|
|
1380
1380
|
order_by: "desc",
|
|
1381
1381
|
tag: "testTag"
|
|
1382
1382
|
};
|
|
1383
|
-
function Qe(e,
|
|
1384
|
-
const { space: i, tenant: r } = e, { objId: o, pred: a, tag: c } =
|
|
1383
|
+
function Qe(e, n, s = void 0, t = void 0) {
|
|
1384
|
+
const { space: i, tenant: r } = e, { objId: o, pred: a, tag: c } = n, d = {
|
|
1385
1385
|
uri: "/resources/6w/tags",
|
|
1386
1386
|
otpCTX: "SecurityContext=preferred",
|
|
1387
1387
|
optTenant: `tenant=${r}`
|
|
@@ -1416,33 +1416,33 @@ function Qe(e, t, s = void 0, n = void 0) {
|
|
|
1416
1416
|
o,
|
|
1417
1417
|
(g) => {
|
|
1418
1418
|
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;
|
|
1419
|
-
l.name = h, l.ext = y, l.createBy = S,
|
|
1419
|
+
l.name = h, l.ext = y, l.createBy = S, n.info = { ...l }, re(
|
|
1420
1420
|
e,
|
|
1421
|
-
|
|
1421
|
+
n,
|
|
1422
1422
|
(_) => {
|
|
1423
1423
|
s && s(_);
|
|
1424
1424
|
},
|
|
1425
1425
|
(_) => {
|
|
1426
|
-
|
|
1426
|
+
t && t(_);
|
|
1427
1427
|
}
|
|
1428
1428
|
);
|
|
1429
1429
|
},
|
|
1430
1430
|
(g, h) => {
|
|
1431
1431
|
const y = g;
|
|
1432
|
-
y.msg = h.errormsg, y.errCode = h.errorcode, console.log("❌ sendDirectMessage => ", y),
|
|
1432
|
+
y.msg = h.errormsg, y.errCode = h.errorcode, console.log("❌ sendDirectMessage => ", y), t && t(y);
|
|
1433
1433
|
}
|
|
1434
1434
|
);
|
|
1435
1435
|
}, 2e3);
|
|
1436
1436
|
},
|
|
1437
1437
|
onFailure(f, l) {
|
|
1438
1438
|
const g = f;
|
|
1439
|
-
g.msg = l.errormsg, g.errCode = l.errorcode, console.log("❌ sendDirectMessage => ", g),
|
|
1439
|
+
g.msg = l.errormsg, g.errCode = l.errorcode, console.log("❌ sendDirectMessage => ", g), t && t(g);
|
|
1440
1440
|
}
|
|
1441
1441
|
});
|
|
1442
1442
|
}
|
|
1443
|
-
function re(e,
|
|
1444
|
-
console.log("obj ",
|
|
1445
|
-
const i =
|
|
1443
|
+
function re(e, n, s = void 0, t = void 0) {
|
|
1444
|
+
console.log("obj ", n);
|
|
1445
|
+
const i = n.info.name, r = {
|
|
1446
1446
|
baseUrl: `https://${e.tenant.toLowerCase()}-eu1-fedsearch.3dexperience.3ds.com`,
|
|
1447
1447
|
uri: "/federated/search"
|
|
1448
1448
|
}, o = `${r.baseUrl}${r.uri}`, a = {
|
|
@@ -1519,12 +1519,12 @@ function re(e, t, s = void 0, n = void 0) {
|
|
|
1519
1519
|
},
|
|
1520
1520
|
onFailure(p, u) {
|
|
1521
1521
|
const f = p;
|
|
1522
|
-
f.msg = u.errormsg, f.errCode = u.errorcode, console.log("❌ sendDirectMessage => ", f),
|
|
1522
|
+
f.msg = u.errormsg, f.errCode = u.errorcode, console.log("❌ sendDirectMessage => ", f), t && t(f), console.log("Erreur de recuperation d'id du doc et des tags", p);
|
|
1523
1523
|
}
|
|
1524
1524
|
});
|
|
1525
1525
|
}
|
|
1526
|
-
function Ze(e,
|
|
1527
|
-
const { objId: i, pred: r, tag: o } =
|
|
1526
|
+
function Ze(e, n, s = void 0, t = void 0) {
|
|
1527
|
+
const { objId: i, pred: r, tag: o } = n, a = {
|
|
1528
1528
|
uri: "/resources/6w/tags",
|
|
1529
1529
|
otpCTX: "SecurityContext=preferred",
|
|
1530
1530
|
optTenant: `tenant=${e.tenant}`
|
|
@@ -1555,20 +1555,20 @@ function Ze(e, t, s = void 0, n = void 0) {
|
|
|
1555
1555
|
},
|
|
1556
1556
|
onFailure(p, u) {
|
|
1557
1557
|
const f = p;
|
|
1558
|
-
f.msg = u.errormsg, f.errCode = u.errorcode, console.log("❌ sendDirectMessage => ", f),
|
|
1558
|
+
f.msg = u.errormsg, f.errCode = u.errorcode, console.log("❌ sendDirectMessage => ", f), t && t(f);
|
|
1559
1559
|
}
|
|
1560
1560
|
});
|
|
1561
1561
|
}
|
|
1562
|
-
function et(e,
|
|
1562
|
+
function et(e, n = "", s = void 0, t = void 0) {
|
|
1563
1563
|
const { space: i } = e;
|
|
1564
|
-
if (
|
|
1564
|
+
if (n === "")
|
|
1565
1565
|
return;
|
|
1566
1566
|
const r = {
|
|
1567
1567
|
uri: "/resources/v1/modeler/documents"
|
|
1568
1568
|
}, o = {
|
|
1569
1569
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
|
|
1570
1570
|
Accept: "application/json,text/javascript,*/*"
|
|
1571
|
-
}, a = `${i}${r.uri}`, c = `$include=none,lockerInfo,ownerInfo,originatorInfo,files,ownerInfo,originatorInfo&$fields=none,title,name,typeNLS,collabSpaceTitle,revision,isLatestRevision,files,lockStatus,lockerInfo.name,lockerInfo.firstname,lockerInfo.lastname,owner,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,stateNLS,modified,policy,state,organizationTitle,originator,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname,hasModifyAccess,fileExtension,files.name,files.title,files.revision,files.locker,ownerInfo,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,originatorInfo,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname&$ids=${
|
|
1571
|
+
}, a = `${i}${r.uri}`, c = `$include=none,lockerInfo,ownerInfo,originatorInfo,files,ownerInfo,originatorInfo&$fields=none,title,name,typeNLS,collabSpaceTitle,revision,isLatestRevision,files,lockStatus,lockerInfo.name,lockerInfo.firstname,lockerInfo.lastname,owner,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,stateNLS,modified,policy,state,organizationTitle,originator,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname,hasModifyAccess,fileExtension,files.name,files.title,files.revision,files.locker,ownerInfo,ownerInfo.name,ownerInfo.firstname,ownerInfo.lastname,originatorInfo,originatorInfo.name,originatorInfo.firstname,originatorInfo.lastname&$ids=${n}`;
|
|
1572
1572
|
m(a, {
|
|
1573
1573
|
method: "POST",
|
|
1574
1574
|
headers: o,
|
|
@@ -1578,25 +1578,25 @@ function et(e, t = "", s = void 0, n = void 0) {
|
|
|
1578
1578
|
},
|
|
1579
1579
|
onFailure(d, p) {
|
|
1580
1580
|
const u = d;
|
|
1581
|
-
u.msg = p.error,
|
|
1581
|
+
u.msg = p.error, t && t(u);
|
|
1582
1582
|
}
|
|
1583
1583
|
});
|
|
1584
1584
|
}
|
|
1585
|
-
async function C(e,
|
|
1586
|
-
const
|
|
1587
|
-
return m(
|
|
1585
|
+
async function C(e, n = void 0, s = void 0) {
|
|
1586
|
+
const t = e.space + "/api/index/tk";
|
|
1587
|
+
return m(t, {
|
|
1588
1588
|
onComplete(i, r, o) {
|
|
1589
1589
|
const a = JSON.parse(i);
|
|
1590
|
-
if (
|
|
1591
|
-
return
|
|
1590
|
+
if (n)
|
|
1591
|
+
return n(a), e.token = a?.result?.ServerToken;
|
|
1592
1592
|
},
|
|
1593
1593
|
onFailure(i) {
|
|
1594
1594
|
s && s(i);
|
|
1595
1595
|
}
|
|
1596
1596
|
});
|
|
1597
1597
|
}
|
|
1598
|
-
function tt(e,
|
|
1599
|
-
const
|
|
1598
|
+
function tt(e, n = void 0, s = void 0) {
|
|
1599
|
+
const t = `${e.space}/api/exalead/whatsnew`, i = {
|
|
1600
1600
|
params: {
|
|
1601
1601
|
community_id: null,
|
|
1602
1602
|
hash_key: null,
|
|
@@ -1607,7 +1607,7 @@ function tt(e, t = void 0, s = void 0) {
|
|
|
1607
1607
|
}
|
|
1608
1608
|
};
|
|
1609
1609
|
C(e, (r) => {
|
|
1610
|
-
m(
|
|
1610
|
+
m(t, {
|
|
1611
1611
|
method: "POST",
|
|
1612
1612
|
headers: {
|
|
1613
1613
|
"X-DS-SWYM-CSRFTOKEN": r.result.ServerToken,
|
|
@@ -1617,7 +1617,7 @@ function tt(e, t = void 0, s = void 0) {
|
|
|
1617
1617
|
data: JSON.stringify(i),
|
|
1618
1618
|
type: "json",
|
|
1619
1619
|
onComplete(o, a) {
|
|
1620
|
-
|
|
1620
|
+
n && n(o, a);
|
|
1621
1621
|
},
|
|
1622
1622
|
onFailure(o, a) {
|
|
1623
1623
|
s && s(o, a);
|
|
@@ -1625,8 +1625,8 @@ function tt(e, t = void 0, s = void 0) {
|
|
|
1625
1625
|
});
|
|
1626
1626
|
});
|
|
1627
1627
|
}
|
|
1628
|
-
function nt(e,
|
|
1629
|
-
const
|
|
1628
|
+
function nt(e, n = void 0, s = void 0) {
|
|
1629
|
+
const t = `${e.space}/api/Recommendation/getpeoplefamiliartocurrentuser`, i = {
|
|
1630
1630
|
params: {
|
|
1631
1631
|
idsToFilterArr: [],
|
|
1632
1632
|
mode: "offline",
|
|
@@ -1636,7 +1636,7 @@ function nt(e, t = void 0, s = void 0) {
|
|
|
1636
1636
|
}
|
|
1637
1637
|
};
|
|
1638
1638
|
C(e, (r) => {
|
|
1639
|
-
m(
|
|
1639
|
+
m(t, {
|
|
1640
1640
|
method: "POST",
|
|
1641
1641
|
headers: {
|
|
1642
1642
|
"X-DS-SWYM-CSRFTOKEN": r.result.ServerToken,
|
|
@@ -1647,7 +1647,7 @@ function nt(e, t = void 0, s = void 0) {
|
|
|
1647
1647
|
type: "json",
|
|
1648
1648
|
onComplete(o, a) {
|
|
1649
1649
|
const c = o.result.hits.map((d) => ({ login: d.login, fullName: d.name }));
|
|
1650
|
-
|
|
1650
|
+
n && n(c, o);
|
|
1651
1651
|
},
|
|
1652
1652
|
onFailure(o, a) {
|
|
1653
1653
|
s && s(o, a);
|
|
@@ -1655,13 +1655,13 @@ function nt(e, t = void 0, s = void 0) {
|
|
|
1655
1655
|
});
|
|
1656
1656
|
});
|
|
1657
1657
|
}
|
|
1658
|
-
function st(e,
|
|
1659
|
-
const
|
|
1658
|
+
function st(e, n = void 0, s = void 0) {
|
|
1659
|
+
const t = {
|
|
1660
1660
|
base: e.space,
|
|
1661
1661
|
uri: "/api/community/listmycommunities",
|
|
1662
1662
|
limit: `/limit/${e.limit ? e.limit : 500}`,
|
|
1663
1663
|
page: `/page/${e.page ? e.page : "1"}`
|
|
1664
|
-
}, i = `${
|
|
1664
|
+
}, i = `${t.base}${t.uri}${t.limit}${t.page}`, r = [];
|
|
1665
1665
|
C(e, (o) => {
|
|
1666
1666
|
m(i, {
|
|
1667
1667
|
method: "GET",
|
|
@@ -1684,7 +1684,7 @@ function st(e, t = void 0, s = void 0) {
|
|
|
1684
1684
|
e,
|
|
1685
1685
|
l.id,
|
|
1686
1686
|
(h) => {
|
|
1687
|
-
f++, g.members = h, r.push(g), f === u.length &&
|
|
1687
|
+
f++, g.members = h, r.push(g), f === u.length && n && n(r);
|
|
1688
1688
|
},
|
|
1689
1689
|
(h) => s(h)
|
|
1690
1690
|
);
|
|
@@ -1697,12 +1697,12 @@ function st(e, t = void 0, s = void 0) {
|
|
|
1697
1697
|
});
|
|
1698
1698
|
});
|
|
1699
1699
|
}
|
|
1700
|
-
function ce(e,
|
|
1700
|
+
function ce(e, n, s, t) {
|
|
1701
1701
|
const i = `${e.space}/api/community/listmembers`, r = {
|
|
1702
1702
|
params: {
|
|
1703
1703
|
page: e.page ? e.page : 1,
|
|
1704
1704
|
limit: e.limit ? e.limit : 50,
|
|
1705
|
-
community_id:
|
|
1705
|
+
community_id: n
|
|
1706
1706
|
}
|
|
1707
1707
|
};
|
|
1708
1708
|
C(e, (o) => {
|
|
@@ -1720,14 +1720,14 @@ function ce(e, t, s, n) {
|
|
|
1720
1720
|
},
|
|
1721
1721
|
onFailure(a, c) {
|
|
1722
1722
|
const d = a;
|
|
1723
|
-
d.status = c.status, d.response = c.errormsg,
|
|
1723
|
+
d.status = c.status, d.response = c.errormsg, t && t(d);
|
|
1724
1724
|
}
|
|
1725
1725
|
});
|
|
1726
1726
|
});
|
|
1727
1727
|
}
|
|
1728
|
-
function it(e,
|
|
1729
|
-
const
|
|
1730
|
-
e.commu_id || (e.commu_id =
|
|
1728
|
+
function it(e, n = void 0, s = void 0) {
|
|
1729
|
+
const t = "YXdA5x4DSUKtlAi2wmnyTA";
|
|
1730
|
+
e.commu_id || (e.commu_id = t);
|
|
1731
1731
|
const i = `${e.space}/api/v2/communities/${e.commu_id}/ideas/statuses`;
|
|
1732
1732
|
C(e, (r) => {
|
|
1733
1733
|
m(i, {
|
|
@@ -1739,7 +1739,7 @@ function it(e, t = void 0, s = void 0) {
|
|
|
1739
1739
|
},
|
|
1740
1740
|
onComplete(o) {
|
|
1741
1741
|
const a = JSON.parse(o);
|
|
1742
|
-
|
|
1742
|
+
n && n(a);
|
|
1743
1743
|
},
|
|
1744
1744
|
onFailure(o, a) {
|
|
1745
1745
|
const c = o;
|
|
@@ -1748,16 +1748,16 @@ function it(e, t = void 0, s = void 0) {
|
|
|
1748
1748
|
});
|
|
1749
1749
|
});
|
|
1750
1750
|
}
|
|
1751
|
-
function at(e,
|
|
1751
|
+
function at(e, n, s = void 0, t = void 0) {
|
|
1752
1752
|
const { listAllContacts: i, currentUser: r } = e;
|
|
1753
1753
|
console.log("__listAllContacts", i.hits);
|
|
1754
1754
|
const o = `${e.space}/api/directmessages`, a = {
|
|
1755
|
-
users: [r.login].concat(
|
|
1755
|
+
users: [r.login].concat(n.receipt)
|
|
1756
1756
|
}, c = {
|
|
1757
1757
|
id_msg: "",
|
|
1758
1758
|
senderId: e.currentUser.login,
|
|
1759
1759
|
senderName: `${e.currentUser.first_name} ${e.currentUser.last_name}`,
|
|
1760
|
-
msg: pe(
|
|
1760
|
+
msg: pe(n.msg)
|
|
1761
1761
|
};
|
|
1762
1762
|
let d = !1;
|
|
1763
1763
|
de(
|
|
@@ -1766,7 +1766,7 @@ function at(e, t, s = void 0, n = void 0) {
|
|
|
1766
1766
|
p !== void 0 && (c.id_msg = p.id, d = !0, P(e, c));
|
|
1767
1767
|
},
|
|
1768
1768
|
(p) => {
|
|
1769
|
-
d = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", p),
|
|
1769
|
+
d = !1, console.log("_3dSwym_findCommunityToInstantMSG callback", p), t && t(p), c.id_msg = "";
|
|
1770
1770
|
}
|
|
1771
1771
|
), d === !1 && setTimeout(() => {
|
|
1772
1772
|
d === !1 && C(e, (p) => {
|
|
@@ -1785,13 +1785,13 @@ function at(e, t, s = void 0, n = void 0) {
|
|
|
1785
1785
|
},
|
|
1786
1786
|
onFailure(u, f, l) {
|
|
1787
1787
|
const g = u;
|
|
1788
|
-
g.msg = f.errormsg, g.status = f.status,
|
|
1788
|
+
g.msg = f.errormsg, g.status = f.status, t && t(g);
|
|
1789
1789
|
}
|
|
1790
1790
|
});
|
|
1791
1791
|
});
|
|
1792
1792
|
}, 500);
|
|
1793
1793
|
}
|
|
1794
|
-
function de(e,
|
|
1794
|
+
function de(e, n, s, t) {
|
|
1795
1795
|
const i = `${e.space}/api/directmessages/lite?with_favorites=false`;
|
|
1796
1796
|
C(e, (r) => {
|
|
1797
1797
|
m(i, {
|
|
@@ -1803,38 +1803,38 @@ function de(e, t, s, n) {
|
|
|
1803
1803
|
onComplete(o) {
|
|
1804
1804
|
const a = JSON.parse(o), c = [];
|
|
1805
1805
|
a.result.forEach((u) => {
|
|
1806
|
-
u.users = u.users.sort((f, l) => f.login.localeCompare(l.login)), u.users.length ===
|
|
1806
|
+
u.users = u.users.sort((f, l) => f.login.localeCompare(l.login)), u.users.length === n.length && c.push(u);
|
|
1807
1807
|
});
|
|
1808
|
-
const d =
|
|
1808
|
+
const d = n.sort(), p = c.find((u) => {
|
|
1809
1809
|
const f = [];
|
|
1810
1810
|
return u.users.forEach((l) => {
|
|
1811
1811
|
f.push(l.login);
|
|
1812
1812
|
}), JSON.stringify(f) === JSON.stringify(d);
|
|
1813
1813
|
});
|
|
1814
|
-
s && p !== void 0 ? s(p) : (
|
|
1814
|
+
s && p !== void 0 ? s(p) : (t || p === void 0) && t(p);
|
|
1815
1815
|
},
|
|
1816
1816
|
onFailure(o) {
|
|
1817
1817
|
const a = o;
|
|
1818
|
-
a.msg = headers.errormsg, a.errCode = headers.errorcode, console.log("❌ sendDirectMessageLite => ", a),
|
|
1818
|
+
a.msg = headers.errormsg, a.errCode = headers.errorcode, console.log("❌ sendDirectMessageLite => ", a), t && t(a);
|
|
1819
1819
|
}
|
|
1820
1820
|
});
|
|
1821
1821
|
});
|
|
1822
1822
|
}
|
|
1823
|
-
function P(e,
|
|
1823
|
+
function P(e, n, s = void 0, t = void 0) {
|
|
1824
1824
|
const i = {
|
|
1825
1825
|
base: e.space,
|
|
1826
1826
|
uri: "/api/community",
|
|
1827
|
-
id_msg: `${
|
|
1827
|
+
id_msg: `${n.id_msg}`,
|
|
1828
1828
|
endUri: "/instantmessages"
|
|
1829
1829
|
}, r = `${i.base}${i.uri}/${i.id_msg}${i.endUri}`, o = {
|
|
1830
|
-
author: { login:
|
|
1830
|
+
author: { login: n.senderId, displayName: n.senderName },
|
|
1831
1831
|
accessState: null,
|
|
1832
1832
|
commentUri: null,
|
|
1833
1833
|
comments: null,
|
|
1834
1834
|
endorsements: null,
|
|
1835
1835
|
moderationState: null,
|
|
1836
1836
|
parentCommentUri: null,
|
|
1837
|
-
richMessage:
|
|
1837
|
+
richMessage: n.msg
|
|
1838
1838
|
};
|
|
1839
1839
|
console.log("_3dSwym_sendDirectMessageData url ", r), C(e, (a) => {
|
|
1840
1840
|
m(r, {
|
|
@@ -1852,30 +1852,30 @@ function P(e, t, s = void 0, n = void 0) {
|
|
|
1852
1852
|
},
|
|
1853
1853
|
onFailure(c, d) {
|
|
1854
1854
|
const p = c;
|
|
1855
|
-
p.msg = d.errormsg, p.errCode = d.errorcode, console.log("❌ sendDirectMessage => ", p),
|
|
1855
|
+
p.msg = d.errormsg, p.errCode = d.errorcode, console.log("❌ sendDirectMessage => ", p), t && t(p);
|
|
1856
1856
|
}
|
|
1857
1857
|
});
|
|
1858
1858
|
});
|
|
1859
1859
|
}
|
|
1860
1860
|
function pe(e) {
|
|
1861
|
-
const
|
|
1861
|
+
const n = (/* @__PURE__ */ new Date()).toLocaleDateString(), s = (/* @__PURE__ */ new Date()).toLocaleTimeString();
|
|
1862
1862
|
return `<p>${e} </p>
|
|
1863
1863
|
<br/>
|
|
1864
1864
|
<hr/>
|
|
1865
|
-
<p><u>envoyer :</u>Le <b>${
|
|
1865
|
+
<p><u>envoyer :</u>Le <b>${n} à ${s}</b></p>`;
|
|
1866
1866
|
}
|
|
1867
|
-
function ot(e,
|
|
1867
|
+
function ot(e, n, s = void 0, t = void 0) {
|
|
1868
1868
|
const i = `${e.space}/api/idea/add`, r = e.swymCommunities.find(
|
|
1869
|
-
(c) => c.id ===
|
|
1869
|
+
(c) => c.id === n.community_id
|
|
1870
1870
|
), o = e.swymCommunities.find(
|
|
1871
|
-
(c) => c.title.toLowerCase() ===
|
|
1871
|
+
(c) => c.title.toLowerCase() === n.community_title.toLowerCase()
|
|
1872
1872
|
), a = {
|
|
1873
1873
|
params: {
|
|
1874
|
-
title:
|
|
1874
|
+
title: n.title,
|
|
1875
1875
|
// String, le nom de l'affaire
|
|
1876
1876
|
community_id: r?.id !== void 0 ? r.id : o.id,
|
|
1877
1877
|
// String, l'id de la communauté
|
|
1878
|
-
message: ue(
|
|
1878
|
+
message: ue(n.text_html),
|
|
1879
1879
|
// STRING => le contenue du message doit être au format HTML
|
|
1880
1880
|
published: 1
|
|
1881
1881
|
// 1 publier, 0 non publier
|
|
@@ -1898,16 +1898,16 @@ function ot(e, t, s = void 0, n = void 0) {
|
|
|
1898
1898
|
},
|
|
1899
1899
|
onFailure(p, u, f) {
|
|
1900
1900
|
const l = p;
|
|
1901
|
-
l.status = u.status, l.response = u.errormsg,
|
|
1901
|
+
l.status = u.status, l.response = u.errormsg, t && t(l);
|
|
1902
1902
|
}
|
|
1903
1903
|
});
|
|
1904
1904
|
});
|
|
1905
1905
|
}
|
|
1906
|
-
function rt(e,
|
|
1907
|
-
const
|
|
1906
|
+
function rt(e, n = void 0, s = void 0) {
|
|
1907
|
+
const t = { base: e.space, uri: "/api/idea/add" };
|
|
1908
1908
|
if (!Array.isArray(e.swymCommunities)) {
|
|
1909
1909
|
const o = "☠️ swymCommunities doit être un tableau d'objets de communautés";
|
|
1910
|
-
throw new Error(`Erreur sur cette requête : ${
|
|
1910
|
+
throw new Error(`Erreur sur cette requête : ${t.base + t.uri}`, {
|
|
1911
1911
|
cause: o
|
|
1912
1912
|
});
|
|
1913
1913
|
}
|
|
@@ -1915,19 +1915,19 @@ function rt(e, t = void 0, s = void 0) {
|
|
|
1915
1915
|
(o) => o.id === e.community_id
|
|
1916
1916
|
) === -1) {
|
|
1917
1917
|
const o = "la communauté n'existe pas dans la liste des communautés du Swym";
|
|
1918
|
-
throw new Error(`Erreur sur cette requête : ${
|
|
1918
|
+
throw new Error(`Erreur sur cette requête : ${t.base + t.uri}`, {
|
|
1919
1919
|
cause: o
|
|
1920
1920
|
});
|
|
1921
1921
|
}
|
|
1922
1922
|
if (e.community_id && e.community_id === "") {
|
|
1923
1923
|
const o = "☠️ community_id doit être un String qui contient l'id de la communauté dans laquelle on souhaite publier l'idée.";
|
|
1924
|
-
throw new Error(`Erreur sur cette requête : ${
|
|
1924
|
+
throw new Error(`Erreur sur cette requête : ${t.base + t.uri}`, {
|
|
1925
1925
|
cause: o
|
|
1926
1926
|
});
|
|
1927
1927
|
}
|
|
1928
1928
|
if (e.title && e.title === "") {
|
|
1929
1929
|
const o = "☠️ title doit être un String.";
|
|
1930
|
-
throw new Error(`Erreur sur cette requête : ${
|
|
1930
|
+
throw new Error(`Erreur sur cette requête : ${t.base + t.uri}`, {
|
|
1931
1931
|
cause: o
|
|
1932
1932
|
});
|
|
1933
1933
|
}
|
|
@@ -1946,7 +1946,7 @@ function rt(e, t = void 0, s = void 0) {
|
|
|
1946
1946
|
C(e, (o) => {
|
|
1947
1947
|
if (!o)
|
|
1948
1948
|
throw new Error(
|
|
1949
|
-
`☠️ token n'est pas disponible pour cette requête : ${
|
|
1949
|
+
`☠️ token n'est pas disponible pour cette requête : ${t.base + t.uri}`,
|
|
1950
1950
|
{
|
|
1951
1951
|
cause: o
|
|
1952
1952
|
}
|
|
@@ -1961,11 +1961,11 @@ function rt(e, t = void 0, s = void 0) {
|
|
|
1961
1961
|
data: JSON.stringify(r),
|
|
1962
1962
|
onComplete(c, d, p) {
|
|
1963
1963
|
const u = { response: c };
|
|
1964
|
-
typeof u.response == "string" && (u.response = JSON.parse(u.response)), u.status = p.status,
|
|
1964
|
+
typeof u.response == "string" && (u.response = JSON.parse(u.response)), u.status = p.status, n && n(u);
|
|
1965
1965
|
},
|
|
1966
1966
|
onFailure(c, d, p) {
|
|
1967
1967
|
const u = JSON.parse(d), f = JSON.parse(c), l = new Error(
|
|
1968
|
-
`Erreur sur cette requête : ${
|
|
1968
|
+
`Erreur sur cette requête : ${t.base + t.uri}`,
|
|
1969
1969
|
{
|
|
1970
1970
|
cause: { head: u, rep: f }
|
|
1971
1971
|
}
|
|
@@ -1973,14 +1973,14 @@ function rt(e, t = void 0, s = void 0) {
|
|
|
1973
1973
|
s && s(l);
|
|
1974
1974
|
}
|
|
1975
1975
|
};
|
|
1976
|
-
m(
|
|
1976
|
+
m(t.base + t.uri, a);
|
|
1977
1977
|
});
|
|
1978
1978
|
}
|
|
1979
|
-
function ct(e,
|
|
1979
|
+
function ct(e, n, s = void 0, t = void 0) {
|
|
1980
1980
|
const i = `${e.space}/api/idea/delete`, r = {
|
|
1981
1981
|
params: {
|
|
1982
|
-
community_id:
|
|
1983
|
-
ideationIds: [
|
|
1982
|
+
community_id: n.community_id,
|
|
1983
|
+
ideationIds: [n.idee_id]
|
|
1984
1984
|
}
|
|
1985
1985
|
};
|
|
1986
1986
|
C(e, (o) => {
|
|
@@ -1998,16 +1998,16 @@ function ct(e, t, s = void 0, n = void 0) {
|
|
|
1998
1998
|
},
|
|
1999
1999
|
onFailure(a, c, d) {
|
|
2000
2000
|
const p = a;
|
|
2001
|
-
p.status = c.status, p.response = c.errormsg,
|
|
2001
|
+
p.status = c.status, p.response = c.errormsg, t && t(p);
|
|
2002
2002
|
}
|
|
2003
2003
|
});
|
|
2004
2004
|
});
|
|
2005
2005
|
}
|
|
2006
|
-
function dt(e,
|
|
2007
|
-
const
|
|
2006
|
+
function dt(e, n = void 0, s = void 0) {
|
|
2007
|
+
const t = `${e.space}/api/idea/get`;
|
|
2008
2008
|
if (e.idPost === "") {
|
|
2009
2009
|
const r = "☠️ idPost est vide, vous devez renseigner un identifiant de post";
|
|
2010
|
-
throw new Error(`Erreur sur cette requête : ${
|
|
2010
|
+
throw new Error(`Erreur sur cette requête : ${t}`, { cause: r });
|
|
2011
2011
|
}
|
|
2012
2012
|
const i = {
|
|
2013
2013
|
params: {
|
|
@@ -2015,7 +2015,7 @@ function dt(e, t = void 0, s = void 0) {
|
|
|
2015
2015
|
}
|
|
2016
2016
|
};
|
|
2017
2017
|
C(e, (r) => {
|
|
2018
|
-
m(
|
|
2018
|
+
m(t, {
|
|
2019
2019
|
method: "POST",
|
|
2020
2020
|
headers: {
|
|
2021
2021
|
"Content-type": "application/json;charset=UTF-8",
|
|
@@ -2024,7 +2024,7 @@ function dt(e, t = void 0, s = void 0) {
|
|
|
2024
2024
|
},
|
|
2025
2025
|
data: JSON.stringify(i),
|
|
2026
2026
|
onComplete(o) {
|
|
2027
|
-
|
|
2027
|
+
n && n({ response: o });
|
|
2028
2028
|
},
|
|
2029
2029
|
onFailure(o) {
|
|
2030
2030
|
const a = o;
|
|
@@ -2033,8 +2033,8 @@ function dt(e, t = void 0, s = void 0) {
|
|
|
2033
2033
|
});
|
|
2034
2034
|
});
|
|
2035
2035
|
}
|
|
2036
|
-
function pt(e,
|
|
2037
|
-
const
|
|
2036
|
+
function pt(e, n, s) {
|
|
2037
|
+
const t = {
|
|
2038
2038
|
base: `${e.space}/api/idea/edit`,
|
|
2039
2039
|
uri: "/api/idea/edit"
|
|
2040
2040
|
}, i = {
|
|
@@ -2061,18 +2061,18 @@ function pt(e, t, s) {
|
|
|
2061
2061
|
const p = {
|
|
2062
2062
|
response: typeof a == "string" ? JSON.parse(a) : a
|
|
2063
2063
|
};
|
|
2064
|
-
p.status = d.status,
|
|
2064
|
+
p.status = d.status, n && n(p);
|
|
2065
2065
|
},
|
|
2066
2066
|
onFailure(a) {
|
|
2067
2067
|
s && s(a);
|
|
2068
2068
|
}
|
|
2069
2069
|
};
|
|
2070
|
-
m(
|
|
2070
|
+
m(t.base + t.uri, o);
|
|
2071
2071
|
});
|
|
2072
2072
|
}
|
|
2073
|
-
function ut(e,
|
|
2073
|
+
function ut(e, n, s = void 0, t = void 0) {
|
|
2074
2074
|
const { space: i } = e;
|
|
2075
|
-
let { community_id: r, limit: o, page: a, search: c } =
|
|
2075
|
+
let { community_id: r, limit: o, page: a, search: c } = n;
|
|
2076
2076
|
const d = [], p = 1;
|
|
2077
2077
|
let u = !1, f = 2;
|
|
2078
2078
|
a || (a = p), o || (o = 100);
|
|
@@ -2096,11 +2096,11 @@ function ut(e, t, s = void 0, n = void 0) {
|
|
|
2096
2096
|
if (a++, l.page = `/page/${a}`, S = `${i}${l.uri}${l.comId}${l.limit}${l.page}`, !c)
|
|
2097
2097
|
d.push(w.response.result);
|
|
2098
2098
|
else {
|
|
2099
|
-
const
|
|
2099
|
+
const T = w.response.result.find(
|
|
2100
2100
|
(I) => I.title.includes(c)
|
|
2101
2101
|
);
|
|
2102
|
-
if (
|
|
2103
|
-
s(
|
|
2102
|
+
if (T) {
|
|
2103
|
+
s(T);
|
|
2104
2104
|
return;
|
|
2105
2105
|
}
|
|
2106
2106
|
}
|
|
@@ -2112,8 +2112,8 @@ function ut(e, t, s = void 0, n = void 0) {
|
|
|
2112
2112
|
}
|
|
2113
2113
|
},
|
|
2114
2114
|
onFailure(_, w) {
|
|
2115
|
-
const
|
|
2116
|
-
|
|
2115
|
+
const T = _;
|
|
2116
|
+
T.status = w.status, T.response = w.errormsg, t && t(T);
|
|
2117
2117
|
}
|
|
2118
2118
|
});
|
|
2119
2119
|
};
|
|
@@ -2195,17 +2195,17 @@ function ue(e) {
|
|
|
2195
2195
|
<p>
|
|
2196
2196
|
</p>` : e;
|
|
2197
2197
|
}
|
|
2198
|
-
function lt(e,
|
|
2199
|
-
const
|
|
2198
|
+
function lt(e, n = void 0, s = void 0) {
|
|
2199
|
+
const t = e.space + "/api/user/getcurrent/";
|
|
2200
2200
|
C(e, (i) => {
|
|
2201
|
-
m(
|
|
2201
|
+
m(t, {
|
|
2202
2202
|
method: "GET",
|
|
2203
2203
|
headers: {
|
|
2204
2204
|
"X-DS-SWYM-CSRFTOKEN": i.result.ServerToken
|
|
2205
2205
|
},
|
|
2206
2206
|
onComplete(r, o, a) {
|
|
2207
2207
|
const c = JSON.parse(r);
|
|
2208
|
-
|
|
2208
|
+
n && n(c.result);
|
|
2209
2209
|
},
|
|
2210
2210
|
onFailure(r, o, a) {
|
|
2211
2211
|
const c = { erreur: JSON.parse(r), headers: o, xhr: a };
|
|
@@ -2214,8 +2214,8 @@ function lt(e, t = void 0, s = void 0) {
|
|
|
2214
2214
|
});
|
|
2215
2215
|
});
|
|
2216
2216
|
}
|
|
2217
|
-
function ft(e,
|
|
2218
|
-
const i = e.space + "/api/user/find/login/" +
|
|
2217
|
+
function ft(e, n, s = void 0, t = void 0) {
|
|
2218
|
+
const i = e.space + "/api/user/find/login/" + n;
|
|
2219
2219
|
C(
|
|
2220
2220
|
e,
|
|
2221
2221
|
(r) => {
|
|
@@ -2227,24 +2227,24 @@ function ft(e, t, s = void 0, n = void 0) {
|
|
|
2227
2227
|
s && s(d);
|
|
2228
2228
|
},
|
|
2229
2229
|
onFailure(o) {
|
|
2230
|
-
|
|
2230
|
+
t && t(o);
|
|
2231
2231
|
}
|
|
2232
2232
|
});
|
|
2233
2233
|
},
|
|
2234
|
-
|
|
2234
|
+
t
|
|
2235
2235
|
);
|
|
2236
2236
|
}
|
|
2237
|
-
function mt(e,
|
|
2238
|
-
e.tenant &&
|
|
2239
|
-
console.log("serviceUrls",
|
|
2240
|
-
const i =
|
|
2241
|
-
return
|
|
2237
|
+
function mt(e, n = void 0, s = void 0) {
|
|
2238
|
+
e.tenant && b(e, (t) => {
|
|
2239
|
+
console.log("serviceUrls", t);
|
|
2240
|
+
const i = t.services.find((r) => r.id === "businessprocess")?.url + "/api/v2";
|
|
2241
|
+
return n && n(i), i;
|
|
2242
2242
|
});
|
|
2243
2243
|
}
|
|
2244
|
-
function gt(e,
|
|
2245
|
-
e.tenant &&
|
|
2246
|
-
console.log("serviceUrls",
|
|
2247
|
-
const i =
|
|
2244
|
+
function gt(e, n = void 0, s = void 0) {
|
|
2245
|
+
e.tenant && b(e, (t) => {
|
|
2246
|
+
console.log("serviceUrls", t);
|
|
2247
|
+
const i = t.services.find((a) => a.id === "3dpassport")?.url, r = t.services.find((a) => a.id === "businessprocess")?.url + "/api/v2", o = `${i}/login/?service=${r}/auth/cas`;
|
|
2248
2248
|
m(o, {
|
|
2249
2249
|
async onComplete(a) {
|
|
2250
2250
|
console.log("response", a);
|
|
@@ -2252,7 +2252,7 @@ function gt(e, t = void 0, s = void 0) {
|
|
|
2252
2252
|
await fetch(c, {
|
|
2253
2253
|
method: "POST"
|
|
2254
2254
|
}).then((d) => d.json()).then(async (d) => {
|
|
2255
|
-
|
|
2255
|
+
n && n(d?.token);
|
|
2256
2256
|
});
|
|
2257
2257
|
},
|
|
2258
2258
|
onFailure(a) {
|
|
@@ -2261,83 +2261,83 @@ function gt(e, t = void 0, s = void 0) {
|
|
|
2261
2261
|
});
|
|
2262
2262
|
});
|
|
2263
2263
|
}
|
|
2264
|
-
function ht(e,
|
|
2264
|
+
function ht(e, n = void 0, s = void 0) {
|
|
2265
2265
|
if (e.tenant) {
|
|
2266
|
-
const
|
|
2267
|
-
fetch(`https://api.uixhome.fr/${
|
|
2266
|
+
const t = e.tenant.toLowerCase();
|
|
2267
|
+
fetch(`https://api.uixhome.fr/${t}/iterop/jwtuser`, {
|
|
2268
2268
|
method: "POST"
|
|
2269
2269
|
}).then((i) => i.json()).then((i) => {
|
|
2270
|
-
|
|
2270
|
+
n && n(i);
|
|
2271
2271
|
}).catch((i) => {
|
|
2272
2272
|
s && s(i);
|
|
2273
2273
|
});
|
|
2274
2274
|
}
|
|
2275
2275
|
}
|
|
2276
|
-
async function yt(e,
|
|
2277
|
-
e.tenant &&
|
|
2276
|
+
async function yt(e, n, s = void 0, t = void 0) {
|
|
2277
|
+
e.tenant && b(e, (i) => {
|
|
2278
2278
|
const o = `${i.services.find((c) => c.id === "businessprocess")?.url + "/api/v2"}/identity/users`, a = e.tenant.toLowerCase();
|
|
2279
|
-
fetch(`https://api.uixhome.fr/${a}/iterop/listusers?t=${
|
|
2279
|
+
fetch(`https://api.uixhome.fr/${a}/iterop/listusers?t=${n}&s=${o}`, {
|
|
2280
2280
|
method: "POST"
|
|
2281
2281
|
}).then((c) => c.json()).then((c) => {
|
|
2282
2282
|
s && s(c);
|
|
2283
2283
|
}).catch((c) => {
|
|
2284
|
-
|
|
2284
|
+
t && t(c);
|
|
2285
2285
|
});
|
|
2286
2286
|
});
|
|
2287
2287
|
}
|
|
2288
|
-
async function St(e,
|
|
2289
|
-
e.tenant &&
|
|
2288
|
+
async function St(e, n, s = void 0, t = void 0) {
|
|
2289
|
+
e.tenant && b(e, (i) => {
|
|
2290
2290
|
const o = `${i.services.find((c) => c.id === "businessprocess")?.url + "/api/v2"}/repository/data/tables`, a = e.tenant.toLowerCase();
|
|
2291
|
-
fetch(`https://api.uixhome.fr/${a}/iterop/repository/data/tables?t=${
|
|
2291
|
+
fetch(`https://api.uixhome.fr/${a}/iterop/repository/data/tables?t=${n}&s=${o}`, {
|
|
2292
2292
|
method: "GET"
|
|
2293
2293
|
}).then((c) => c.json()).then((c) => {
|
|
2294
2294
|
s && s(c);
|
|
2295
2295
|
}).catch((c) => {
|
|
2296
|
-
|
|
2296
|
+
t && t(c);
|
|
2297
2297
|
});
|
|
2298
2298
|
});
|
|
2299
2299
|
}
|
|
2300
|
-
async function _t(e,
|
|
2300
|
+
async function _t(e, n, s, t = void 0, i = void 0) {
|
|
2301
2301
|
if (e.tenant) {
|
|
2302
2302
|
const r = e.tenant.toLowerCase();
|
|
2303
|
-
fetch(`https://api.uixhome.fr/${r}/iterop/businesstable/${s}?t=${
|
|
2303
|
+
fetch(`https://api.uixhome.fr/${r}/iterop/businesstable/${s}?t=${n}`, {
|
|
2304
2304
|
method: "POST"
|
|
2305
2305
|
}).then((o) => o.json()).then((o) => {
|
|
2306
|
-
|
|
2306
|
+
t && t(o);
|
|
2307
2307
|
}).catch((o) => {
|
|
2308
2308
|
i && i(o);
|
|
2309
2309
|
});
|
|
2310
2310
|
}
|
|
2311
2311
|
}
|
|
2312
|
-
async function wt(e,
|
|
2312
|
+
async function wt(e, n, s, t = void 0, i = void 0) {
|
|
2313
2313
|
if (e.tenant) {
|
|
2314
2314
|
const r = e.tenant.toLowerCase();
|
|
2315
|
-
fetch(`https://api.uixhome.fr/${r}/iterop/businesstable/${s}
|
|
2315
|
+
fetch(`https://api.uixhome.fr/${r}/iterop/businesstable/rows/${s}/?t=${n}`, {
|
|
2316
2316
|
method: "POST"
|
|
2317
2317
|
}).then((o) => o.json()).then((o) => {
|
|
2318
|
-
|
|
2318
|
+
t && t(o);
|
|
2319
2319
|
}).catch((o) => {
|
|
2320
2320
|
i && i(o);
|
|
2321
2321
|
});
|
|
2322
2322
|
}
|
|
2323
2323
|
}
|
|
2324
|
-
async function Ct(e,
|
|
2325
|
-
e.tenant &&
|
|
2324
|
+
async function Ct(e, n, s, t, i = void 0, r = void 0) {
|
|
2325
|
+
e.tenant && b(e, (o) => {
|
|
2326
2326
|
o.services.find((c) => c.id === "businessprocess")?.url + "";
|
|
2327
2327
|
const a = e.tenant.toLowerCase();
|
|
2328
|
-
fetch(`https://api.uixhome.fr/${a}/iterop/businesstable/patch/rows/${s}/?t=${
|
|
2328
|
+
fetch(`https://api.uixhome.fr/${a}/iterop/businesstable/patch/rows/${s}/?t=${n}&b=${t}`, {
|
|
2329
2329
|
method: "POST"
|
|
2330
2330
|
}).then((c) => c.json()).then((c) => {
|
|
2331
2331
|
i && i(c);
|
|
2332
2332
|
}).catch((c) => {
|
|
2333
|
-
r && r(c, s,
|
|
2333
|
+
r && r(c, s, t);
|
|
2334
2334
|
});
|
|
2335
2335
|
});
|
|
2336
2336
|
}
|
|
2337
|
-
async function
|
|
2337
|
+
async function Tt(e, n, s, t, i, r = void 0, o = void 0) {
|
|
2338
2338
|
if (e.tenant) {
|
|
2339
|
-
const a = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/search/rows/${s}?t=${
|
|
2340
|
-
|
|
2339
|
+
const a = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/search/rows/${s}?t=${n}&c=${encodeURIComponent(
|
|
2340
|
+
t
|
|
2341
2341
|
)}&b=${encodeURIComponent(i)}`;
|
|
2342
2342
|
fetch(a, {
|
|
2343
2343
|
method: "POST"
|
|
@@ -2347,21 +2347,21 @@ async function bt(e, t, s, n, i, r = void 0, o = void 0) {
|
|
|
2347
2347
|
o && o({
|
|
2348
2348
|
error: c,
|
|
2349
2349
|
tableId: s,
|
|
2350
|
-
columns:
|
|
2350
|
+
columns: t,
|
|
2351
2351
|
body: i
|
|
2352
2352
|
});
|
|
2353
2353
|
});
|
|
2354
2354
|
}
|
|
2355
2355
|
}
|
|
2356
|
-
async function
|
|
2356
|
+
async function bt(e, n, s, t, i = void 0, r = void 0) {
|
|
2357
2357
|
if (e.tenant) {
|
|
2358
|
-
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${s}?t=${
|
|
2359
|
-
|
|
2358
|
+
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${s}?t=${n}&b=${encodeURIComponent(
|
|
2359
|
+
t
|
|
2360
2360
|
)}`;
|
|
2361
2361
|
fetch(o, {
|
|
2362
2362
|
method: "POST"
|
|
2363
2363
|
}).then((a) => a.json()).then((a) => {
|
|
2364
|
-
console.log("_Iterop_updateBusinessTable | _Iterop_businessTableSearchInRows | fetch | onDone",
|
|
2364
|
+
console.log("_Iterop_updateBusinessTable | _Iterop_businessTableSearchInRows | fetch | onDone", t), i && i(a);
|
|
2365
2365
|
}).catch((a) => {
|
|
2366
2366
|
r && r({
|
|
2367
2367
|
error: a,
|
|
@@ -2370,12 +2370,12 @@ async function Tt(e, t, s, n, i = void 0, r = void 0) {
|
|
|
2370
2370
|
});
|
|
2371
2371
|
}
|
|
2372
2372
|
}
|
|
2373
|
-
async function Ot(e,
|
|
2374
|
-
e.tenant &&
|
|
2373
|
+
async function Ot(e, n, s, t, i = void 0, r = void 0) {
|
|
2374
|
+
e.tenant && b(e, (o) => {
|
|
2375
2375
|
o.services.find((c) => c.id === "businessprocess")?.url + "";
|
|
2376
2376
|
const a = e.tenant.toLowerCase();
|
|
2377
2377
|
fetch(
|
|
2378
|
-
`https://api.uixhome.fr/${a}/iterop/runtime/processes/${s}?t=${
|
|
2378
|
+
`https://api.uixhome.fr/${a}/iterop/runtime/processes/${s}?t=${n}&b=${t}`,
|
|
2379
2379
|
{
|
|
2380
2380
|
method: "POST"
|
|
2381
2381
|
}
|
|
@@ -2386,28 +2386,28 @@ async function Ot(e, t, s, n, i = void 0, r = void 0) {
|
|
|
2386
2386
|
});
|
|
2387
2387
|
});
|
|
2388
2388
|
}
|
|
2389
|
-
async function $t(e,
|
|
2390
|
-
e.tenant &&
|
|
2389
|
+
async function $t(e, n, s, t = void 0, i = void 0) {
|
|
2390
|
+
e.tenant && b(e, (r) => {
|
|
2391
2391
|
r.services.find((a) => a.id === "businessprocess")?.url + "";
|
|
2392
2392
|
const o = e.tenant.toLowerCase();
|
|
2393
2393
|
fetch(
|
|
2394
|
-
`https://api.uixhome.fr/${o}/iterop/dependencytable/one/${s}/?t=${
|
|
2394
|
+
`https://api.uixhome.fr/${o}/iterop/dependencytable/one/${s}/?t=${n}`,
|
|
2395
2395
|
{
|
|
2396
2396
|
method: "POST"
|
|
2397
2397
|
}
|
|
2398
2398
|
).then((a) => a.json()).then((a) => {
|
|
2399
|
-
|
|
2399
|
+
t && t(a);
|
|
2400
2400
|
}).catch((a) => {
|
|
2401
2401
|
i && i(a);
|
|
2402
2402
|
});
|
|
2403
2403
|
});
|
|
2404
2404
|
}
|
|
2405
|
-
async function It(e,
|
|
2406
|
-
e.tenant &&
|
|
2405
|
+
async function It(e, n, s, t, i, r = void 0, o = void 0) {
|
|
2406
|
+
e.tenant && b(e, (a) => {
|
|
2407
2407
|
a.services.find((d) => d.id === "businessprocess")?.url + "";
|
|
2408
2408
|
const c = e.tenant.toLowerCase();
|
|
2409
2409
|
fetch(
|
|
2410
|
-
`https://api.uixhome.fr/${c}/iterop/dependencytable/patch/${s}/?t=${
|
|
2410
|
+
`https://api.uixhome.fr/${c}/iterop/dependencytable/patch/${s}/?t=${n}&cli=${t}&b=${i}`,
|
|
2411
2411
|
{
|
|
2412
2412
|
method: "POST"
|
|
2413
2413
|
}
|
|
@@ -2418,12 +2418,12 @@ async function It(e, t, s, n, i, r = void 0, o = void 0) {
|
|
|
2418
2418
|
});
|
|
2419
2419
|
});
|
|
2420
2420
|
}
|
|
2421
|
-
async function vt(e,
|
|
2422
|
-
e.tenant &&
|
|
2421
|
+
async function vt(e, n, s, t, i = void 0, r = void 0) {
|
|
2422
|
+
e.tenant && b(e, (o) => {
|
|
2423
2423
|
o.services.find((c) => c.id === "businessprocess")?.url + "";
|
|
2424
2424
|
const a = e.tenant.toLowerCase();
|
|
2425
2425
|
fetch(
|
|
2426
|
-
`https://api.uixhome.fr/${a}/iterop/dependencytable/put/${s}/?t=${
|
|
2426
|
+
`https://api.uixhome.fr/${a}/iterop/dependencytable/put/${s}/?t=${n}&b=${t}`,
|
|
2427
2427
|
{
|
|
2428
2428
|
method: "POST"
|
|
2429
2429
|
}
|
|
@@ -2434,17 +2434,34 @@ async function vt(e, t, s, n, i = void 0, r = void 0) {
|
|
|
2434
2434
|
});
|
|
2435
2435
|
});
|
|
2436
2436
|
}
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2437
|
+
//!SECTION
|
|
2438
|
+
async function Nt(e, n, s, t = void 0, i = void 0) {
|
|
2439
|
+
if (e.tenant) {
|
|
2440
|
+
const r = e.tenant.toLowerCase();
|
|
2441
|
+
fetch(
|
|
2442
|
+
`https://api.uixhome.fr/${r}/iterop/list/one/${s}/?t=${n}`,
|
|
2443
|
+
{
|
|
2444
|
+
method: "POST"
|
|
2445
|
+
}
|
|
2446
|
+
).then((o) => o.json()).then((o) => {
|
|
2447
|
+
t && t(o);
|
|
2448
|
+
}).catch((o) => {
|
|
2449
|
+
i && i(o);
|
|
2450
|
+
});
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2453
|
+
//!SECTION
|
|
2454
|
+
function kt(e) {
|
|
2455
|
+
const n = "Hello " + e;
|
|
2456
|
+
return console.log(n), n;
|
|
2440
2457
|
}
|
|
2441
|
-
function
|
|
2442
|
-
return console.log("credentials", e), new Promise((
|
|
2458
|
+
function At(e, n = void 0, s = void 0) {
|
|
2459
|
+
return console.log("credentials", e), new Promise((t) => {
|
|
2443
2460
|
if (e.token === "" && O(e), !e.space || e.space === "") {
|
|
2444
2461
|
const o = Y();
|
|
2445
2462
|
console.log("platformeInfo", o);
|
|
2446
2463
|
}
|
|
2447
|
-
|
|
2464
|
+
j(
|
|
2448
2465
|
e,
|
|
2449
2466
|
"Common space",
|
|
2450
2467
|
["VPLMProjectLeader", "VPLMCreator"],
|
|
@@ -2503,7 +2520,7 @@ function kt(e, t = void 0, s = void 0) {
|
|
|
2503
2520
|
}),
|
|
2504
2521
|
type: "json",
|
|
2505
2522
|
onComplete(d) {
|
|
2506
|
-
|
|
2523
|
+
n && n(d);
|
|
2507
2524
|
},
|
|
2508
2525
|
onFailure(d) {
|
|
2509
2526
|
s && s(d);
|
|
@@ -2519,7 +2536,7 @@ function kt(e, t = void 0, s = void 0) {
|
|
|
2519
2536
|
}
|
|
2520
2537
|
export {
|
|
2521
2538
|
D as UUID,
|
|
2522
|
-
|
|
2539
|
+
At as _3DSearch_usersGroup,
|
|
2523
2540
|
De as _3DSpace_Create_Doc,
|
|
2524
2541
|
Re as _3DSpace_Update_Doc,
|
|
2525
2542
|
Be as _3DSpace_bookmark_addSubsciptions,
|
|
@@ -2534,7 +2551,7 @@ export {
|
|
|
2534
2551
|
L as _3DSpace_get_docInfo,
|
|
2535
2552
|
ne as _3DSpace_get_downloadTicket_multidoc,
|
|
2536
2553
|
xe as _3DSpace_get_multiDocInfo,
|
|
2537
|
-
|
|
2554
|
+
j as _3DSpace_get_securityContexts,
|
|
2538
2555
|
U as _3DSpace_get_ticket,
|
|
2539
2556
|
Ee as _3DSpace_lifecycle_changeRevision,
|
|
2540
2557
|
Me as _3DSpace_lifecycle_changeState,
|
|
@@ -2563,20 +2580,21 @@ export {
|
|
|
2563
2580
|
Ct as _Iterop_AddOrRemoveRows,
|
|
2564
2581
|
gt as _Iterop_Auth_CAS,
|
|
2565
2582
|
$t as _Iterop_GetOneDependencyTable,
|
|
2583
|
+
Nt as _Iterop_GetOneList,
|
|
2566
2584
|
yt as _Iterop_ListUsers,
|
|
2567
2585
|
It as _Iterop_PatchDependencyTable,
|
|
2568
2586
|
vt as _Iterop_PutDependencyTable,
|
|
2569
|
-
|
|
2587
|
+
Tt as _Iterop_businessTableSearchInRows,
|
|
2570
2588
|
St as _Iterop_getAllBusinessTables,
|
|
2571
2589
|
_t as _Iterop_getOneBusinessTable,
|
|
2572
2590
|
wt as _Iterop_getOneBusinessTableRows,
|
|
2573
2591
|
ht as _Iterop_jwtUser,
|
|
2574
2592
|
Ot as _Iterop_runProcess,
|
|
2575
|
-
|
|
2593
|
+
bt as _Iterop_updateBusinessTable,
|
|
2576
2594
|
Y as _getPlateformInfos,
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2595
|
+
Te as _getPlatformServices,
|
|
2596
|
+
b as _getServiceUrl,
|
|
2597
|
+
be as _getServiceUrl_3DPassport,
|
|
2580
2598
|
mt as _getServiceUrl_Iterop,
|
|
2581
2599
|
m as _httpCallAuthenticated,
|
|
2582
2600
|
_e as _setDraggable,
|
|
@@ -2603,12 +2621,12 @@ export {
|
|
|
2603
2621
|
ke as getUserGroupsList,
|
|
2604
2622
|
q as getUsersGroupRules,
|
|
2605
2623
|
qe as get_3DSpace_csrf,
|
|
2606
|
-
|
|
2607
|
-
|
|
2624
|
+
je as patchUserGroups,
|
|
2625
|
+
Fe as patchUserGroupsControl,
|
|
2608
2626
|
Ye as pushDataIn3DSpace,
|
|
2609
2627
|
Ue as readUserGroupControl,
|
|
2610
2628
|
Ze as removeTagToDoc,
|
|
2611
|
-
|
|
2629
|
+
kt as sayHello,
|
|
2612
2630
|
Se as updateEvent
|
|
2613
2631
|
};
|
|
2614
2632
|
//# sourceMappingURL=wb3Api.js.map
|