@beam3_dev/api_module 0.0.238 → 0.0.240
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 +22 -22
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +1 -1
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v4 as K } from "uuid";
|
|
2
2
|
import { DateTime as $ } from "luxon";
|
|
3
|
-
import { requirejs as
|
|
3
|
+
import { requirejs as N, widget as P } from "@widget-lab/3ddashboard-utils";
|
|
4
4
|
function B() {
|
|
5
5
|
return K();
|
|
6
6
|
}
|
|
@@ -139,12 +139,12 @@ async function Ce(e, t, n = !0) {
|
|
|
139
139
|
return s === -1 ? e.events.push(t) : n ? e.events[s] = t : e.events.splice(s, 1), e.length > 0 && e.sort((i, r) => i.start - r.start), e;
|
|
140
140
|
}
|
|
141
141
|
function m(e, t) {
|
|
142
|
-
|
|
142
|
+
N(["DS/WAFData/WAFData"], (n) => {
|
|
143
143
|
n.authenticatedRequest(e, t);
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
function Te(e, t, n) {
|
|
147
|
-
|
|
147
|
+
N(["DS/DataDragAndDrop/DataDragAndDrop"], (s) => {
|
|
148
148
|
s.draggable(e, {
|
|
149
149
|
data: t,
|
|
150
150
|
start: n
|
|
@@ -152,7 +152,7 @@ function Te(e, t, n) {
|
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
function be(e, t = void 0) {
|
|
155
|
-
|
|
155
|
+
N(["DS/TagNavigatorProxy/TagNavigatorProxy"], (n) => {
|
|
156
156
|
let s;
|
|
157
157
|
s === void 0 && (s = n.createProxy({
|
|
158
158
|
widgetId: P.id,
|
|
@@ -161,14 +161,14 @@ function be(e, t = void 0) {
|
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
function Oe(e, t) {
|
|
164
|
-
|
|
164
|
+
N(["DS/DataDragAndDrop/DataDragAndDrop"], (n) => {
|
|
165
165
|
n.droppable(e, {
|
|
166
166
|
drop: t
|
|
167
167
|
});
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
170
|
async function $e(e, t = void 0, n = void 0) {
|
|
171
|
-
await
|
|
171
|
+
await N(
|
|
172
172
|
["DS/i3DXCompassServices/i3DXCompassServices"],
|
|
173
173
|
(s) => {
|
|
174
174
|
(!e || e === "") && (e = P.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), t && t(
|
|
@@ -183,7 +183,7 @@ async function $e(e, t = void 0, n = void 0) {
|
|
|
183
183
|
}
|
|
184
184
|
function q() {
|
|
185
185
|
let e = {};
|
|
186
|
-
return
|
|
186
|
+
return N(["DS/PlatformAPI/PlatformAPI"], (t) => {
|
|
187
187
|
const n = t.getTenant(), s = t.getUser(), i = t.getAllApplicationConfigurations(), r = t.getApplicationConfiguration(
|
|
188
188
|
"com.3ds.wp.passport.cors"
|
|
189
189
|
);
|
|
@@ -215,7 +215,7 @@ function b(e, t = void 0, n = void 0) {
|
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Ne(e, t = void 0, n = void 0) {
|
|
219
219
|
if (e.tenant) {
|
|
220
220
|
const s = `https://${e.tenant}-eu1-registry.3dexperience.3ds.com/api/v1/platform/service/instance?serviceId=3dpassport&platformId=${e.tenant}`;
|
|
221
221
|
m(s, {
|
|
@@ -232,7 +232,7 @@ function Ie(e, t = void 0, n = void 0) {
|
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function Ie(e, t, n) {
|
|
236
236
|
const s = {
|
|
237
237
|
base: `${e.space}`,
|
|
238
238
|
uri: "/resources/AppsMngt/api/custom/applications",
|
|
@@ -478,7 +478,7 @@ var Q = function(e, t, n, s) {
|
|
|
478
478
|
u >= 0 ? (p = d.substr(0, u), f = d.substr(u + 1)) : (p = d, f = ""), l = decodeURIComponent(p), g = decodeURIComponent(f), z(i, l) ? Array.isArray(i[l]) ? i[l].push(g) : i[l] = [i[l], g] : i[l] = g;
|
|
479
479
|
}
|
|
480
480
|
return i;
|
|
481
|
-
},
|
|
481
|
+
}, I = function(e) {
|
|
482
482
|
switch (typeof e) {
|
|
483
483
|
case "string":
|
|
484
484
|
return e;
|
|
@@ -491,11 +491,11 @@ var Q = function(e, t, n, s) {
|
|
|
491
491
|
}
|
|
492
492
|
}, Z = function(e, t, n, s) {
|
|
493
493
|
return t = t || "&", n = n || "=", e === null && (e = void 0), typeof e == "object" ? Object.keys(e).map(function(i) {
|
|
494
|
-
var r = encodeURIComponent(
|
|
494
|
+
var r = encodeURIComponent(I(i)) + n;
|
|
495
495
|
return Array.isArray(e[i]) ? e[i].map(function(o) {
|
|
496
|
-
return r + encodeURIComponent(
|
|
497
|
-
}).join(t) : r + encodeURIComponent(
|
|
498
|
-
}).filter(Boolean).join(t) : s ? encodeURIComponent(
|
|
496
|
+
return r + encodeURIComponent(I(o));
|
|
497
|
+
}).join(t) : r + encodeURIComponent(I(e[i]));
|
|
498
|
+
}).filter(Boolean).join(t) : s ? encodeURIComponent(I(s)) + n + encodeURIComponent(I(e)) : "";
|
|
499
499
|
};
|
|
500
500
|
v.decode = v.parse = Q;
|
|
501
501
|
v.encode = v.stringify = Z;
|
|
@@ -2068,7 +2068,7 @@ function lt(e, t = void 0, n = void 0) {
|
|
|
2068
2068
|
},
|
|
2069
2069
|
data: JSON.stringify(o),
|
|
2070
2070
|
onComplete(a) {
|
|
2071
|
-
t && t({ response: a });
|
|
2071
|
+
a = typeof a == "string" ? JSON.parse(a) : a, t && t({ response: a });
|
|
2072
2072
|
},
|
|
2073
2073
|
onFailure(a) {
|
|
2074
2074
|
const c = a;
|
|
@@ -2087,7 +2087,7 @@ function ft(e, t, n) {
|
|
|
2087
2087
|
status_id: d,
|
|
2088
2088
|
message: u
|
|
2089
2089
|
} = e, p = {
|
|
2090
|
-
base: `${s}
|
|
2090
|
+
base: `${s}`,
|
|
2091
2091
|
uri: "/api/idea/edit"
|
|
2092
2092
|
}, l = {
|
|
2093
2093
|
method: "POST",
|
|
@@ -2415,7 +2415,7 @@ async function $t(e, t, n, s, i = void 0, r = void 0) {
|
|
|
2415
2415
|
});
|
|
2416
2416
|
});
|
|
2417
2417
|
}
|
|
2418
|
-
async function
|
|
2418
|
+
async function Nt(e, t, n, s, i, r = void 0, o = void 0) {
|
|
2419
2419
|
if (e.tenant) {
|
|
2420
2420
|
const a = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/search/rows/${n}?t=${t}&c=${encodeURIComponent(
|
|
2421
2421
|
s
|
|
@@ -2434,7 +2434,7 @@ async function It(e, t, n, s, i, r = void 0, o = void 0) {
|
|
|
2434
2434
|
});
|
|
2435
2435
|
}
|
|
2436
2436
|
}
|
|
2437
|
-
async function
|
|
2437
|
+
async function It(e, t, n, s, i = void 0, r = void 0) {
|
|
2438
2438
|
if (e.tenant) {
|
|
2439
2439
|
const o = `https://api.uixhome.fr/${e.tenant.toLowerCase()}/iterop/businesstable/post/update/${n}?t=${t}&b=${encodeURIComponent(
|
|
2440
2440
|
s
|
|
@@ -2666,17 +2666,17 @@ export {
|
|
|
2666
2666
|
Ct as _Iterop_ListUsers,
|
|
2667
2667
|
At as _Iterop_PatchDependencyTable,
|
|
2668
2668
|
kt as _Iterop_PutDependencyTable,
|
|
2669
|
-
|
|
2669
|
+
Nt as _Iterop_businessTableSearchInRows,
|
|
2670
2670
|
Tt as _Iterop_getAllBusinessTables,
|
|
2671
2671
|
bt as _Iterop_getOneBusinessTable,
|
|
2672
2672
|
Ot as _Iterop_getOneBusinessTableRows,
|
|
2673
2673
|
wt as _Iterop_jwtUser,
|
|
2674
2674
|
vt as _Iterop_runProcess,
|
|
2675
|
-
|
|
2675
|
+
It as _Iterop_updateBusinessTable,
|
|
2676
2676
|
q as _getPlateformInfos,
|
|
2677
2677
|
$e as _getPlatformServices,
|
|
2678
2678
|
b as _getServiceUrl,
|
|
2679
|
-
|
|
2679
|
+
Ne as _getServiceUrl_3DPassport,
|
|
2680
2680
|
St as _getServiceUrl_Iterop,
|
|
2681
2681
|
m as _httpCallAuthenticated,
|
|
2682
2682
|
Te as _setDraggable,
|
|
@@ -2684,7 +2684,7 @@ export {
|
|
|
2684
2684
|
be as _setupTagger,
|
|
2685
2685
|
tt as addTagToDoc,
|
|
2686
2686
|
W as chunkArray,
|
|
2687
|
-
|
|
2687
|
+
Ie as compass_getListAdditionalApps,
|
|
2688
2688
|
V as couleurs,
|
|
2689
2689
|
Ae as createUserGroups,
|
|
2690
2690
|
oe as dataMixing,
|