leiting-bim 2.2.10 → 2.2.11
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.
|
@@ -4943,7 +4943,7 @@ class ju {
|
|
|
4943
4943
|
if (Hn(this.viewer?.container), l) {
|
|
4944
4944
|
const r = await Ct(o);
|
|
4945
4945
|
if (r) {
|
|
4946
|
-
r?.asset?.watermark && Vu(r.asset.watermark, this.viewer?.container), zu.includes(this.watermarkEnabled) && Hn(this.viewer?.container);
|
|
4946
|
+
r?.asset?.watermark && await Vu(r.asset.watermark, this.viewer?.container), zu.includes(this.watermarkEnabled) && Hn(this.viewer?.container);
|
|
4947
4947
|
const c = this.getBaseUrlPath(e), u = (h) => {
|
|
4948
4948
|
!h || typeof h != "object" || (typeof h.uri == "string" && !/^(data:|https?:|atom:)\/\//i.test(h.uri) && (h.uri = encodeURI(`${c}/${h.uri.replace(/^\.?\//, "")}`)), Object.values(h).forEach((g) => {
|
|
4949
4949
|
if (Array.isArray(g)) {
|
|
@@ -11985,7 +11985,7 @@ class fw {
|
|
|
11985
11985
|
let t = window?.VectorTileLayer || window?.CesiumVectorTileGL?.VectorTileLayer || this.cesium?.VectorTileLayer;
|
|
11986
11986
|
if (!t)
|
|
11987
11987
|
try {
|
|
11988
|
-
const n = await import("./index-
|
|
11988
|
+
const n = await import("./index-BMabNQGL.js"), o = n?.VectorTileLayer || n?.CesiumVectorTileGL?.VectorTileLayer || n?.default?.VectorTileLayer || n?.default;
|
|
11989
11989
|
if (o)
|
|
11990
11990
|
window.VectorTileLayer = o, n?.CesiumVectorTileGL && (window.CesiumVectorTileGL = n.CesiumVectorTileGL), t = o;
|
|
11991
11991
|
else {
|
|
@@ -12080,13 +12080,13 @@ class fw {
|
|
|
12080
12080
|
let t = window?.VectorTileLayer || window?.CesiumVectorTileGL?.VectorTileLayer || this.cesium?.VectorTileLayer;
|
|
12081
12081
|
if (!t)
|
|
12082
12082
|
try {
|
|
12083
|
-
const r = await import("./index-
|
|
12083
|
+
const r = await import("./index-BMabNQGL.js"), c = r?.VectorTileLayer || r?.CesiumVectorTileGL?.VectorTileLayer || r?.default?.VectorTileLayer || r?.default;
|
|
12084
12084
|
c && (window.VectorTileLayer = c, r?.CesiumVectorTileGL && (window.CesiumVectorTileGL = r.CesiumVectorTileGL), t = c);
|
|
12085
12085
|
} catch {
|
|
12086
12086
|
}
|
|
12087
12087
|
if (!(window?.CesiumVectorTileGL?.VectorTileset || window?.VectorTileset))
|
|
12088
12088
|
try {
|
|
12089
|
-
const r = await import("./index-
|
|
12089
|
+
const r = await import("./index-BMabNQGL.js"), c = r?.VectorTileset || r?.CesiumVectorTileGL?.VectorTileset || r?.default?.VectorTileset;
|
|
12090
12090
|
c && (window.VectorTileset = c);
|
|
12091
12091
|
} catch {
|
|
12092
12092
|
}
|
|
@@ -13075,7 +13075,7 @@ class fw {
|
|
|
13075
13075
|
let d = null, f = null, h = null, g = 6e3;
|
|
13076
13076
|
try {
|
|
13077
13077
|
const C = await this.loadModelFile(u);
|
|
13078
|
-
C?.watermark && Vu(C.watermark, this.viewer?.container), C && typeof C == "object" && (zu.includes(this.watermarkEnabled) && Hn(this.viewer?.container), C?.tiles && Array.isArray(C.tiles) && (d = C.tiles), Array.isArray(C?.overviewL0) && (f = C.overviewL0), Array.isArray(C?.overviewL1) && (h = C.overviewL1, g = Number(C.overviewL1Height) || 6e3));
|
|
13078
|
+
C?.watermark && await Vu(C.watermark, this.viewer?.container), C && typeof C == "object" && (zu.includes(this.watermarkEnabled) && Hn(this.viewer?.container), C?.tiles && Array.isArray(C.tiles) && (d = C.tiles), Array.isArray(C?.overviewL0) && (f = C.overviewL0), Array.isArray(C?.overviewL1) && (h = C.overviewL1, g = Number(C.overviewL1Height) || 6e3));
|
|
13079
13079
|
} catch {
|
|
13080
13080
|
}
|
|
13081
13081
|
console.log("[addGISCadModel] formData:", JSON.stringify(o.formData)), console.log(
|
package/leiting-bim.es.js
CHANGED
|
@@ -1,54 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
i as DEFAULT_CESIUM_CONFIG,
|
|
4
|
-
a as LeiTingBIM,
|
|
5
|
-
n as LeiTingDraggableCard,
|
|
6
|
-
t as LeiTingInfo,
|
|
7
|
-
o as LeiTingMenu,
|
|
8
|
-
g as LeiTingPlayer,
|
|
9
|
-
l as LeiTingPosition,
|
|
10
|
-
u as LeiTingSection,
|
|
11
|
-
r as LeiTingSetting,
|
|
12
|
-
L as LeiTingTree,
|
|
13
|
-
M as LeitingBIM,
|
|
14
|
-
T as LeitingDraggableCard,
|
|
15
|
-
b as LeitingInfo,
|
|
16
|
-
c as LeitingMenu,
|
|
17
|
-
m as LeitingPlayer,
|
|
18
|
-
C as LeitingPosition,
|
|
19
|
-
d as LeitingSection,
|
|
20
|
-
f as LeitingSetting,
|
|
21
|
-
D as LeitingTree,
|
|
22
|
-
F as MobileBottomNav,
|
|
23
|
-
I as MobileDrawer,
|
|
24
|
-
p as MobileInfo,
|
|
25
|
-
P as MobileMeasurement,
|
|
26
|
-
S as MobilePlayer,
|
|
27
|
-
h as MobileSection,
|
|
28
|
-
v as MobileSetting,
|
|
29
|
-
E as MobileTree,
|
|
30
|
-
y as default,
|
|
31
|
-
B as defaultMobileConfig,
|
|
32
|
-
O as disableDoubleTapZoom,
|
|
33
|
-
w as getAccessToken,
|
|
34
|
-
_ as getCesiumOptionsForMobile,
|
|
35
|
-
x as getTilesetOptionsForMobile,
|
|
36
|
-
A as getViewerOptionsForMobile,
|
|
37
|
-
G as leitingBim,
|
|
38
|
-
N as loadCesium,
|
|
39
|
-
k as preventDefaultTouchEvents,
|
|
40
|
-
z as useDebounce,
|
|
41
|
-
R as useDevice,
|
|
42
|
-
U as useFrameRateControl,
|
|
43
|
-
j as useGestureDetection,
|
|
44
|
-
q as useLazyLoad,
|
|
45
|
-
H as useLeiTing,
|
|
46
|
-
J as useLeiting,
|
|
47
|
-
K as useLongPress,
|
|
48
|
-
V as useLongPressOnElement,
|
|
49
|
-
Z as useModelTree,
|
|
50
|
-
Q as useRightContextMenu,
|
|
51
|
-
W as useThrottle,
|
|
52
|
-
X as useTouchEvents,
|
|
53
|
-
Y as waitForCesium
|
|
54
|
-
};
|
|
1
|
+
(function(_0x4713f3,_0x1aec47){var _0x252028=a0_0x102a,_0x154725=_0x4713f3();while(!![]){try{var _0x597712=parseInt(_0x252028(0x1d3))/0x1*(-parseInt(_0x252028(0x1d1))/0x2)+parseInt(_0x252028(0x1d0))/0x3*(-parseInt(_0x252028(0x1cd))/0x4)+-parseInt(_0x252028(0x1d4))/0x5*(parseInt(_0x252028(0x1d5))/0x6)+parseInt(_0x252028(0x1d7))/0x7+-parseInt(_0x252028(0x1d6))/0x8*(-parseInt(_0x252028(0x1d2))/0x9)+-parseInt(_0x252028(0x1cf))/0xa+parseInt(_0x252028(0x1ce))/0xb;if(_0x597712===_0x1aec47)break;else _0x154725['push'](_0x154725['shift']());}catch(_0x289839){_0x154725['push'](_0x154725['shift']());}}}(a0_0x394d,0xed417));function a0_0x102a(_0x43b9ae,_0x2ba233){_0x43b9ae=_0x43b9ae-0x1cd;var _0x394da8=a0_0x394d();var _0x102ae8=_0x394da8[_0x43b9ae];return _0x102ae8;}import{D as a0_0x3ff6cf,L as a0_0x15f900,b as a0_0x27bd05,e as a0_0xea4529,_ as a0_0x1bf9e7,d as a0_0x4c8e04,f as a0_0x58b9ee,c as a0_0x27ff79,h as a0_0x5ece17,a as a0_0xcfd649,L as a0_0x4433f9,b as a0_0x5f2c0b,e as a0_0x136e11,_ as a0_0x482811,d as a0_0x3b0b0f,f as a0_0x4a9e2f,c as a0_0x66c1a7,h as a0_0x564763,a as a0_0x5ecfa8,M as a0_0x5ef010,k as a0_0x375a7c,r as a0_0x23da6d,p as a0_0x47475d,q as a0_0x33f606,o as a0_0x566b0c,n as a0_0x2f0583,m as a0_0x456ef0,i as a0_0x4a0b6e,I as a0_0x5369e0,z as a0_0x5cdb14,j as a0_0x3992c3,J as a0_0xca7e1,N as a0_0x4518c6,K as a0_0x36f8b4,L as a0_0x40b772,l as a0_0x18976b,y as a0_0x5d3ea3,F as a0_0x6bbb00,v as a0_0x1a0201,E as a0_0x231df5,C as a0_0x3467db,H as a0_0x1d798f,u as a0_0x7cb42f,u as a0_0x4e70e6,A as a0_0x3bb1c2,B as a0_0x2daf13,s as a0_0x1f6d6f,t as a0_0x4e68f7,G as a0_0x2baa86,x as a0_0x2af726,w as a0_0x2718c5}from'./index-DtRgFES6.js';function a0_0x394d(){var _0x3c6174=['2NiUZvm','9wBWuKx','288383fhaJdO','10pveNsJ','1850154sDcMlH','11835040LNuCvQ','3715236qkJqtj','1107220jZrLSc','22017622jSaymG','10276100FMoSfn','12ukeJgx'];a0_0x394d=function(){return _0x3c6174;};return a0_0x394d();}export{a0_0x3ff6cf as DEFAULT_CESIUM_CONFIG,a0_0x15f900 as LeiTingBIM,a0_0x27bd05 as LeiTingDraggableCard,a0_0xea4529 as LeiTingInfo,a0_0x1bf9e7 as LeiTingMenu,a0_0x4c8e04 as LeiTingPlayer,a0_0x58b9ee as LeiTingPosition,a0_0x27ff79 as LeiTingSection,a0_0x5ece17 as LeiTingSetting,a0_0xcfd649 as LeiTingTree,a0_0x4433f9 as LeitingBIM,a0_0x5f2c0b as LeitingDraggableCard,a0_0x136e11 as LeitingInfo,a0_0x482811 as LeitingMenu,a0_0x3b0b0f as LeitingPlayer,a0_0x4a9e2f as LeitingPosition,a0_0x66c1a7 as LeitingSection,a0_0x564763 as LeitingSetting,a0_0x5ecfa8 as LeitingTree,a0_0x5ef010 as MobileBottomNav,a0_0x375a7c as MobileDrawer,a0_0x23da6d as MobileInfo,a0_0x47475d as MobileMeasurement,a0_0x33f606 as MobilePlayer,a0_0x566b0c as MobileSection,a0_0x2f0583 as MobileSetting,a0_0x456ef0 as MobileTree,a0_0x4a0b6e as default,a0_0x5369e0 as defaultMobileConfig,a0_0x5cdb14 as disableDoubleTapZoom,a0_0x3992c3 as getAccessToken,a0_0xca7e1 as getCesiumOptionsForMobile,a0_0x4518c6 as getTilesetOptionsForMobile,a0_0x36f8b4 as getViewerOptionsForMobile,a0_0x40b772 as leitingBim,a0_0x18976b as loadCesium,a0_0x5d3ea3 as preventDefaultTouchEvents,a0_0x6bbb00 as useDebounce,a0_0x1a0201 as useDevice,a0_0x231df5 as useFrameRateControl,a0_0x3467db as useGestureDetection,a0_0x1d798f as useLazyLoad,a0_0x7cb42f as useLeiTing,a0_0x4e70e6 as useLeiting,a0_0x3bb1c2 as useLongPress,a0_0x2daf13 as useLongPressOnElement,a0_0x1f6d6f as useModelTree,a0_0x4e68f7 as useRightContextMenu,a0_0x2baa86 as useThrottle,a0_0x2af726 as useTouchEvents,a0_0x2718c5 as waitForCesium};
|