@beam3_dev/api_module 0.0.104 → 0.0.105
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 +13 -12
- package/dist/wb3Api.js.map +1 -1
- package/dist/wb3Api.umd.cjs +4 -4
- package/dist/wb3Api.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/wb3Api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v4 as M } from "uuid";
|
|
2
2
|
import { DateTime as N } from "luxon";
|
|
3
|
-
import { requirejs as O, widget as
|
|
4
|
-
function
|
|
3
|
+
import { requirejs as O, widget as U } from "@widget-lab/3ddashboard-utils";
|
|
4
|
+
function j() {
|
|
5
5
|
return M();
|
|
6
6
|
}
|
|
7
7
|
const L = {
|
|
@@ -121,7 +121,7 @@ function fe(e, t = void 0) {
|
|
|
121
121
|
O(["DS/TagNavigatorProxy/TagNavigatorProxy"], (n) => {
|
|
122
122
|
let s;
|
|
123
123
|
s === void 0 && (s = n.createProxy({
|
|
124
|
-
widgetId:
|
|
124
|
+
widgetId: U.id,
|
|
125
125
|
filteringMode: "WithFilteringServices"
|
|
126
126
|
}), t !== void 0 && s.addEvent("onFilterSubjectsChange", t)), s.setSubjectsTags(e);
|
|
127
127
|
});
|
|
@@ -137,7 +137,7 @@ async function ge(e, t = void 0, n = void 0) {
|
|
|
137
137
|
await O(
|
|
138
138
|
["DS/i3DXCompassServices/i3DXCompassServices"],
|
|
139
139
|
(s) => {
|
|
140
|
-
(!e || e === "") && (e =
|
|
140
|
+
(!e || e === "") && (e = U.getValue("PlatFormInstanceId")), (!e || e === "") && (e = void 0), t && t(
|
|
141
141
|
s.getPlatformServices({
|
|
142
142
|
platformId: e,
|
|
143
143
|
onComplete: t,
|
|
@@ -169,7 +169,7 @@ function E(e, t = void 0, n = void 0) {
|
|
|
169
169
|
const r = JSON.parse(o);
|
|
170
170
|
if (console.log("_getServiceUrl", r), r && "platforms" in r) {
|
|
171
171
|
const i = r.platforms.find((a) => {
|
|
172
|
-
a.id, e.tenant;
|
|
172
|
+
a.id, e.tenant.toUpperCase();
|
|
173
173
|
});
|
|
174
174
|
t && t(i);
|
|
175
175
|
}
|
|
@@ -644,7 +644,7 @@ async function ve(e, t, n, s, o = void 0, r = void 0) {
|
|
|
644
644
|
}
|
|
645
645
|
}]
|
|
646
646
|
},
|
|
647
|
-
tempId:
|
|
647
|
+
tempId: j()
|
|
648
648
|
}]
|
|
649
649
|
}),
|
|
650
650
|
type: "json",
|
|
@@ -957,7 +957,7 @@ function De(e, t, n = void 0, s = void 0) {
|
|
|
957
957
|
}
|
|
958
958
|
});
|
|
959
959
|
}
|
|
960
|
-
function
|
|
960
|
+
function Ue(e, t, n = void 0, s = void 0) {
|
|
961
961
|
return new Promise((o) => {
|
|
962
962
|
if (e.token === "" && T(e), t !== void 0 && t !== "" && t !== null) {
|
|
963
963
|
const r = `${e.space}/resources/lifecycle/revise/prepare_revise_maskattributes?tenant=${e.tenant}`;
|
|
@@ -1002,7 +1002,7 @@ function je(e, t, n = void 0, s = void 0) {
|
|
|
1002
1002
|
}
|
|
1003
1003
|
});
|
|
1004
1004
|
}
|
|
1005
|
-
function
|
|
1005
|
+
function je(e, t, n, s = void 0, o = void 0) {
|
|
1006
1006
|
return new Promise((r) => {
|
|
1007
1007
|
if (e.token === "" && T(e), t !== void 0 && t !== "" && t !== null) {
|
|
1008
1008
|
const i = `${e.space}/resources/lifecycle/revise/major?tenant=${e.tenant}`;
|
|
@@ -1292,7 +1292,7 @@ function Z(e, t, n = void 0, s = void 0) {
|
|
|
1292
1292
|
}, i = `${r.baseUrl}${r.uri}`, a = {
|
|
1293
1293
|
"Content-Type": "application/json",
|
|
1294
1294
|
Accept: "application/json,text/javascript,*/*"
|
|
1295
|
-
}, c =
|
|
1295
|
+
}, c = j(), d = {
|
|
1296
1296
|
with_indexing_date: !0,
|
|
1297
1297
|
with_synthesis: !0,
|
|
1298
1298
|
with_nls: !1,
|
|
@@ -1952,6 +1952,7 @@ function tt(e, t, n = void 0, s = void 0) {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
function nt(e, t = void 0, n = void 0) {
|
|
1954
1954
|
e.tenant && E(e, (s) => {
|
|
1955
|
+
console.log("serviceUrls", s);
|
|
1955
1956
|
const o = s.find((a) => a.id === "3dpassport")?.url, r = s.find((a) => a.id === "businessprocess")?.url + "/api/v2", i = `${o}/login/?service=${r}/auth/cas`;
|
|
1956
1957
|
f(i, {
|
|
1957
1958
|
onComplete(a, c) {
|
|
@@ -2047,7 +2048,7 @@ function at(e, t = void 0, n = void 0) {
|
|
|
2047
2048
|
});
|
|
2048
2049
|
}
|
|
2049
2050
|
export {
|
|
2050
|
-
|
|
2051
|
+
j as UUID,
|
|
2051
2052
|
at as _3DSearch_usersGroup,
|
|
2052
2053
|
ve as _3DSpace_Create_Doc,
|
|
2053
2054
|
Ie as _3DSpace_bookmark_addSubsciptions,
|
|
@@ -2062,10 +2063,10 @@ export {
|
|
|
2062
2063
|
Y as _3DSpace_get_downloadTicket_multidoc,
|
|
2063
2064
|
b as _3DSpace_get_securityContexts,
|
|
2064
2065
|
A as _3DSpace_get_ticket,
|
|
2065
|
-
|
|
2066
|
+
je as _3DSpace_lifecycle_changeRevision,
|
|
2066
2067
|
$e as _3DSpace_lifecycle_changeState,
|
|
2067
2068
|
De as _3DSpace_lifecycle_getGraph,
|
|
2068
|
-
|
|
2069
|
+
Ue as _3DSpace_lifecycle_getNextRevision,
|
|
2069
2070
|
Ae as _3DSpace_lifecycle_getNextStates,
|
|
2070
2071
|
qe as _3DSwym_buildDirectMessage,
|
|
2071
2072
|
ze as _3DSwym_deleteIdea,
|