@xtctwins/tctwins-bimx-engine 0.2.49 → 0.2.50
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/README.md +193 -193
- package/dist/{AnnotationTool-BIQYccLV.mjs → AnnotationTool-ClUqfSZp.mjs} +35 -35
- package/dist/BIMX_Viewer_Lib.es.js +3 -3
- package/dist/BIMX_Viewer_Lib.umd.js +130 -138
- package/dist/{CommentTool-CTH0u76a.mjs → CommentTool-DcAcusOm.mjs} +168 -168
- package/dist/{HiddenTool-B1o4e4Mi.mjs → HiddenTool-D0kbPBtX.mjs} +13 -13
- package/dist/{InspectorTool-BnKwoEV6.mjs → InspectorTool-BMXg86Ow.mjs} +64 -64
- package/dist/{MeasureTool-DD0MQlVK.mjs → MeasureTool-CN4zNj6w.mjs} +22 -22
- package/dist/{MouseTool-B99s92wL.mjs → MouseTool-Dcp3UTRv.mjs} +15 -15
- package/dist/{NavigateTool-Bzni_edr.mjs → NavigateTool-TVHCkKRU.mjs} +13 -13
- package/dist/{RoamTool-BnF-1cl2.mjs → RoamTool-CkYHH7aP.mjs} +17 -17
- package/dist/ScreenShotTool-DC4RyElm.mjs +500 -0
- package/dist/{SectionTool-DJjxjkhi.mjs → SectionTool-Vn7purnG.mjs} +43 -43
- package/dist/SettingTool-DWoeF-dC.mjs +815 -0
- package/dist/StructureTree-DZ0gUacM.mjs +1846 -0
- package/dist/{alert-BMV9n7SQ.mjs → alert-BkyuKyki.mjs} +9 -9
- package/dist/el-input-number-CUWk0tiM.mjs +1169 -0
- package/dist/{index-BaDPCrAt.mjs → index-CBXvm6RA.mjs} +51711 -47848
- package/dist/index.html +17 -17
- package/dist/{panel.vue_vue_type_style_index_0_lang-oT_Sff-F.mjs → panel.vue_vue_type_style_index_0_lang-IOvVcvu7.mjs} +3 -3
- package/dist/style.css +1 -1
- package/dist/{tallPanel-DojXnxix.mjs → tallPanel-HBoW6JCm.mjs} +15 -15
- package/package.json +2 -2
- package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +38 -10
- package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +37 -9
- package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +5 -7
- package/types/components/BCFComponents/BCFFilter.vue.d.ts +5 -7
- package/types/components/BCFComponents/BCFTool.vue.d.ts +4 -7
- package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +5 -7
- package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +5 -6
- package/types/components/BCFComponents/commentInput.vue.d.ts +36 -10
- package/types/components/BCFComponents/commentsView.vue.d.ts +36 -7
- package/types/components/BCFComponents/dialogPanel.vue.d.ts +5 -8
- package/types/components/BCFComponents/imageView.vue.d.ts +5 -7
- package/types/components/BCFComponents/imageZoomIn.vue.d.ts +5 -6
- package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +18 -1
- package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/CommentTool.vue.d.ts +32 -1
- package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +6 -8
- package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +4 -5
- package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
- package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +478 -1
- package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +499 -7
- package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +5 -6
- package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/SettingTool.vue.d.ts +4 -6
- package/types/components/BimViewerComponents/StructureTree.vue.d.ts +4026 -1
- package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +18 -1
- package/types/components/BimxViewerComp.vue.d.ts +7 -14
- package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +37 -10
- package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +37 -9
- package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +499 -7
- package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +478 -1
- package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +5 -8
- package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +38 -12
- package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +7 -9
- package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +5 -7
- package/types/components/bimxViewer.vue.d.ts +7 -14
- package/types/components/utilsComponents/alert.vue.d.ts +1 -1
- package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
- package/types/components/utilsComponents/closeButton_dark.vue.d.ts +1 -1
- package/types/components/utilsComponents/emptyPage.vue.d.ts +1 -1
- package/types/components/utilsComponents/loading.vue.d.ts +1 -1
- package/types/components/utilsComponents/panel.vue.d.ts +8 -2
- package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
- package/types/components/utilsComponents/rectangleButton.vue.d.ts +3 -1
- package/types/components/utilsComponents/tallPanel.vue.d.ts +13 -3
- package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +13 -3
- package/types/pages/BimxViewerEntry.vue.d.ts +5 -57
- package/types/pages/viewerEntry.vue.d.ts +7 -57
- package/types/store/initConfigs.d.ts +1 -1
- package/types/store/toolbars.d.ts +46 -46
- package/dist/ScreenShotTool-CSBJzyDd.mjs +0 -357
- package/dist/SettingTool-D2qksFZK.mjs +0 -657
- package/dist/StructureTree-DrLo9Bch.mjs +0 -1583
- package/dist/el-input-number-BOQOKzK0.mjs +0 -818
- package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +0 -22
- package/types/components/BimViewerComponents/emptyPage.vue.d.ts +0 -8
- package/types/tests/cmt.d.ts +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { H as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as y, onMounted as E, ref as k, onBeforeUnmount as B, createElementBlock as s, openBlock as l, createElementVNode as r, Fragment as C, renderList as H, unref as c, normalizeClass as w, toDisplayString as I } from "vue";
|
|
2
|
+
import { A as S, B as A, D as m, O, C as T, I as x } from "./index-CBXvm6RA.mjs";
|
|
3
|
+
import { H as D } from "./const-DOnRsYpZ.mjs";
|
|
4
|
+
const j = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["onClick"], N = ["src"], R = /* @__PURE__ */ y({
|
|
5
5
|
__name: "HiddenTool",
|
|
6
6
|
props: ["componentId"],
|
|
7
7
|
emits: ["closePanel", "emitHandler"],
|
|
8
8
|
setup(u, { emit: U }) {
|
|
9
|
-
const _ =
|
|
9
|
+
const _ = S(), o = A(), b = u;
|
|
10
10
|
E(() => {
|
|
11
11
|
o.setReadyById(b.componentId);
|
|
12
12
|
});
|
|
13
13
|
const i = k(0), d = () => {
|
|
14
14
|
const { eventTrigger: e } = window.bimViewer;
|
|
15
|
-
|
|
15
|
+
T("isMobile") ? e.on("touchEntity", (n) => {
|
|
16
16
|
!window.bimViewer.disableClickEvent || !o.isToolActiveBykey("hidden") || a(n);
|
|
17
17
|
}) : e.on("pickedEntity", (n) => {
|
|
18
18
|
!window.bimViewer.disableClickEvent || !o.isToolActiveBykey("hidden") || a(n);
|
|
@@ -34,24 +34,24 @@ const D = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["on
|
|
|
34
34
|
}, g = (e) => {
|
|
35
35
|
e == 0 ? (i.value = e, p()) : i.value = e;
|
|
36
36
|
};
|
|
37
|
-
return (e, n) => (
|
|
37
|
+
return (e, n) => (l(), s("div", j, [
|
|
38
38
|
r("div", L, [
|
|
39
|
-
(
|
|
40
|
-
key:
|
|
39
|
+
(l(!0), s(C, null, H(c(D), (t, V) => (l(), s("div", {
|
|
40
|
+
key: V,
|
|
41
41
|
class: w(["button_", { button_active: i.value == t.id }]),
|
|
42
42
|
onClick: ($) => g(t.id)
|
|
43
43
|
}, [
|
|
44
44
|
r("img", {
|
|
45
|
-
src: c(
|
|
45
|
+
src: c(O) + `/bim-viewer/hidden-bar/new-icon/bimkk-mobile-hidden-${i.value == t.id ? t.img_active : t.img}.svg`
|
|
46
46
|
}, null, 8, N),
|
|
47
47
|
r("span", {
|
|
48
48
|
class: w({ active_text: i.value == t.id })
|
|
49
|
-
},
|
|
49
|
+
}, I(c(_)(t.name)), 3)
|
|
50
50
|
], 10, M))), 128))
|
|
51
51
|
])
|
|
52
52
|
]));
|
|
53
53
|
}
|
|
54
|
-
}),
|
|
54
|
+
}), q = /* @__PURE__ */ x(R, [["__scopeId", "data-v-a3ff9c01"]]);
|
|
55
55
|
export {
|
|
56
|
-
|
|
56
|
+
q as default
|
|
57
57
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as ae } from "./tallPanel-
|
|
3
|
-
import { _ as le } from "./panel.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { defineComponent as ce, onMounted as re, ref as W, reactive as
|
|
5
|
-
const
|
|
1
|
+
import { J as ee, A as te, B as ne, D as E, C as v, T as N, G as oe, O as H, H as se, I as ie } from "./index-CBXvm6RA.mjs";
|
|
2
|
+
import { _ as ae } from "./tallPanel-HBoW6JCm.mjs";
|
|
3
|
+
import { _ as le } from "./panel.vue_vue_type_style_index_0_lang-IOvVcvu7.mjs";
|
|
4
|
+
import { defineComponent as ce, onMounted as re, ref as W, reactive as K, watch as _e, onBeforeUnmount as pe, createElementBlock as r, openBlock as c, Fragment as y, createBlock as Q, createCommentVNode as O, unref as n, withCtx as I, withDirectives as d, createElementVNode as e, createVNode as B, toDisplayString as t, vShow as m, renderList as C } from "vue";
|
|
5
|
+
const J = {
|
|
6
6
|
ExtendToStructure: "扩建物",
|
|
7
7
|
ThermalTransmittance: "热透射率",
|
|
8
8
|
Roughness: "粗糙度",
|
|
@@ -248,32 +248,32 @@ const Z = {
|
|
|
248
248
|
Pset_ReflectorTypeCommon: "反射器类型通用",
|
|
249
249
|
Pset_FlowInstrumentTypeCommon: "流量仪表类型通用",
|
|
250
250
|
Pset_HeatTransferDeviceTypeCommon: "热传递设备类型通用"
|
|
251
|
-
}, ue = Object.keys(
|
|
252
|
-
(
|
|
251
|
+
}, ue = Object.keys(J).reduce(
|
|
252
|
+
(f, b) => {
|
|
253
253
|
const o = b.trim().toLowerCase().replace(/\s+/g, "");
|
|
254
|
-
return
|
|
254
|
+
return f[o] = J[b], f;
|
|
255
255
|
},
|
|
256
256
|
{}
|
|
257
257
|
);
|
|
258
|
-
function k(
|
|
259
|
-
const o =
|
|
260
|
-
return (b || ee().locale) === "en-US" ?
|
|
258
|
+
function k(f, b) {
|
|
259
|
+
const o = f.trim().toLowerCase().replace(/\s+/g, "");
|
|
260
|
+
return (b || ee().locale) === "en-US" ? f : ue[o] || f;
|
|
261
261
|
}
|
|
262
|
-
const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src"], ye = { class: "properties_content" }, ve = { class: "basic_info_title" },
|
|
262
|
+
const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src"], ye = { class: "properties_content" }, ve = { class: "basic_info_title" }, Ce = { class: "basic_info_value" }, fe = { class: "propertysets" }, ge = ["onClick"], Pe = { class: "title" }, be = ["src"], Te = { class: "properties_content" }, Se = { class: "content_title_value" }, Ie = { class: "content_title" }, ke = { class: "content_value" }, De = { class: "myInspector_empty" }, Re = ["src"], we = {
|
|
263
263
|
class: "pc_Inspector_type_button",
|
|
264
264
|
style: { display: "none" }
|
|
265
|
-
}, xe = { class: "type_button" }, Ee = { class: "type_button" }, Be = { class: "pc_Inspector_content" }, Fe = { class: "pc_myInspector_content" }, Me = { class: "title" }, Le = ["src"], Oe = { class: "properties_content" }, je = { class: "basic_info_title" },
|
|
265
|
+
}, xe = { class: "type_button" }, Ee = { class: "type_button" }, Be = { class: "pc_Inspector_content" }, Fe = { class: "pc_myInspector_content" }, Me = { class: "title" }, Le = ["src"], Oe = { class: "properties_content" }, je = { class: "basic_info_title" }, Ae = { class: "basic_info_value" }, Ve = { class: "propertysets" }, Ne = ["onClick"], He = { class: "title" }, We = ["src"], Ue = { class: "properties_content" }, $e = { class: "content_title_value" }, ze = { class: "content_title" }, qe = { class: "content_value" }, Ge = { class: "pc_model_info" }, Ke = { class: "model_info_content" }, Qe = { class: "model_info_value" }, Je = { class: "model_info_content" }, Ze = { class: "model_info_value" }, Xe = {
|
|
266
266
|
key: 0,
|
|
267
267
|
class: "model_info_content"
|
|
268
268
|
}, Ye = { class: "model_info_value" }, et = { class: "model_info_content" }, tt = { class: "model_info_value" }, nt = {
|
|
269
269
|
key: 2,
|
|
270
270
|
class: "mobile_myInspector_wrapper"
|
|
271
|
-
}, ot = { class: "detail-title-box" }, st = { class: "detail-title" }, it = { class: "detail-title-icon" }, at = { class: "mobile_myInspector" }, lt = { class: "mobile_myInspector_content" }, ct = { class: "basic_info_title" }, rt = ["src"], _t = { class: "basic_info_content" }, pt = { class: "basic_info_content_value" }, ut = { class: "content_title" }, dt = { class: "content_value" }, mt = { class: "basic_info_content_value" }, ht = { class: "content_value" }, yt = { class: "basic_info_content_value" }, vt = { class: "content_title" },
|
|
271
|
+
}, ot = { class: "detail-title-box" }, st = { class: "detail-title" }, it = { class: "detail-title-icon" }, at = { class: "mobile_myInspector" }, lt = { class: "mobile_myInspector_content" }, ct = { class: "basic_info_title" }, rt = ["src"], _t = { class: "basic_info_content" }, pt = { class: "basic_info_content_value" }, ut = { class: "content_title" }, dt = { class: "content_value" }, mt = { class: "basic_info_content_value" }, ht = { class: "content_value" }, yt = { class: "basic_info_content_value" }, vt = { class: "content_title" }, Ct = { class: "content_value" }, ft = { class: "propertysets" }, gt = ["onClick"], Pt = { class: "propertysets_title" }, bt = ["src"], Tt = { class: "properties_content" }, St = { class: "content_title_value" }, It = { class: "content_title" }, kt = { class: "content_value" }, Dt = { class: "mobile_Inspector_empty" }, Rt = { class: "model_info_value" }, wt = { class: "model_info_value" }, xt = { class: "model_info_value" }, Et = { class: "model_info_value" }, Bt = /* @__PURE__ */ ce({
|
|
272
272
|
__name: "InspectorTool",
|
|
273
273
|
props: ["componentId"],
|
|
274
274
|
emits: ["closePanel", "emitHandler"],
|
|
275
|
-
setup(
|
|
276
|
-
const o = te(), F = ne(), M =
|
|
275
|
+
setup(f, { emit: b }) {
|
|
276
|
+
const o = te(), F = ne(), M = f;
|
|
277
277
|
re(() => {
|
|
278
278
|
F.setReadyById(M.componentId);
|
|
279
279
|
});
|
|
@@ -281,13 +281,13 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
281
281
|
U("emitHandler", i);
|
|
282
282
|
};
|
|
283
283
|
let L = window.bimViewer;
|
|
284
|
-
const h = W(!1),
|
|
284
|
+
const h = W(!1), D = W(""), $ = W(""), s = K({
|
|
285
285
|
entity_name: o("common.noData"),
|
|
286
286
|
entity_type: o("common.noData"),
|
|
287
287
|
entity_id: o("common.noData"),
|
|
288
288
|
propertySets: [],
|
|
289
289
|
expanded: !0
|
|
290
|
-
}), a =
|
|
290
|
+
}), a = K({
|
|
291
291
|
objectCount: o("common.unknown"),
|
|
292
292
|
pSetsCount: o("common.unknown"),
|
|
293
293
|
createDate: o("common.unknown"),
|
|
@@ -297,9 +297,9 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
297
297
|
() => F.isToolActive(M.componentId),
|
|
298
298
|
(i) => {
|
|
299
299
|
if (i && h.value == !0) {
|
|
300
|
-
if (
|
|
300
|
+
if (D.value == $.value)
|
|
301
301
|
return;
|
|
302
|
-
|
|
302
|
+
A(D.value);
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
);
|
|
@@ -311,11 +311,11 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
311
311
|
const _ = window.bimViewer.getModelInfo(u.metaModel.id);
|
|
312
312
|
v("multiModel") ? l == 0 ? (a.objectCount = _.objectCount !== 0 ? _.objectCount : 0, a.pSetsCount = _.propertySetCount !== 0 ? _.propertySetCount : 0, a.author = _.author !== "" ? _.author : "未知") : (a.objectCount = a.objectCount += _.objectCount, a.pSetsCount = a.pSetsCount += _.propertySetCount, a.author = _.author !== "" ? a.author += `, ${_.author}` : a.author.includes("未知") ? a.author : a.author += ", 未知") : (a.createDate = _.createDate !== "" ? _.createDate.replace("T", " ") : "未知", a.objectCount = _.objectCount !== 0 ? _.objectCount : "未知", a.pSetsCount = _.propertySetCount !== 0 ? _.propertySetCount : "未知", a.author = _.author !== "" ? _.author : "未知"), l += 1;
|
|
313
313
|
}), v("isMobile") || i.on("pickedEntity", (u) => {
|
|
314
|
-
|
|
314
|
+
A(u.id, u);
|
|
315
315
|
}), v("isMobile") && i.on("touchEntity", (u) => {
|
|
316
|
-
|
|
316
|
+
A(u.id);
|
|
317
317
|
}), i.on("pickedNothing", () => {
|
|
318
|
-
h.value = !1,
|
|
318
|
+
h.value = !1, D.value = "", Z(), j({
|
|
319
319
|
isTool: !0,
|
|
320
320
|
event_target: "InspectorTool",
|
|
321
321
|
event_name: "pickedNothing",
|
|
@@ -327,15 +327,15 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
327
327
|
}, q = (i) => {
|
|
328
328
|
if (!i) return;
|
|
329
329
|
const l = L.getObjectProperties(i.id);
|
|
330
|
-
l && (
|
|
330
|
+
l && (D.value = i.id, h.value = !0, G(l));
|
|
331
331
|
};
|
|
332
332
|
E.on("BimViewer", z), E.on("tree_clickNode", q), pe(() => {
|
|
333
333
|
E.off("BimViewer", z), E.off("tree_clickNode", q);
|
|
334
334
|
});
|
|
335
|
-
const
|
|
336
|
-
if (
|
|
335
|
+
const A = (i, l) => {
|
|
336
|
+
if (D.value = i, h.value = !0, !F.isToolActive(M.componentId)) return;
|
|
337
337
|
const u = L.getObjectProperties(i);
|
|
338
|
-
u &&
|
|
338
|
+
u && G(u), $.value = i, v("isMobile") ? j({
|
|
339
339
|
isTool: !0,
|
|
340
340
|
event_target: "InspectorTool",
|
|
341
341
|
event_name: "touchEntity",
|
|
@@ -350,15 +350,15 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
350
350
|
object: { entity: l, entity_info: u }
|
|
351
351
|
}
|
|
352
352
|
});
|
|
353
|
-
},
|
|
353
|
+
}, V = () => {
|
|
354
354
|
E.emit("hideToolbar", !1), U("closePanel");
|
|
355
355
|
}, T = (i) => {
|
|
356
356
|
i.expanded = !i.expanded;
|
|
357
|
-
}, S = (i) => i ? `${H}/bim-viewer/down_icon.png` : `${H}/bim-viewer/right_icon.png`,
|
|
357
|
+
}, S = (i) => i ? `${H}/bim-viewer/down_icon.png` : `${H}/bim-viewer/right_icon.png`, G = (i) => {
|
|
358
358
|
s.entity_name = i.name, s.entity_type = i.type, s.entity_id = i.id, i.propertySets && (s.propertySets = i.propertySets, s.propertySets.forEach((l) => {
|
|
359
359
|
N.currentTheme == "light-gray" ? l.expanded = !0 : l.expanded = !1;
|
|
360
360
|
}));
|
|
361
|
-
},
|
|
361
|
+
}, Z = () => {
|
|
362
362
|
s.entity_name = "", s.entity_type = "", s.entity_id = "", s.propertySets = [];
|
|
363
363
|
};
|
|
364
364
|
return (i, l) => {
|
|
@@ -368,7 +368,7 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
368
368
|
key: 0,
|
|
369
369
|
class: "myInspector_wrapper",
|
|
370
370
|
panelTitle: n(o)("inspector.title"),
|
|
371
|
-
"click-handle":
|
|
371
|
+
"click-handle": V,
|
|
372
372
|
style: { height: "var(--inspector-content-height)" }
|
|
373
373
|
}, {
|
|
374
374
|
default: I(() => [
|
|
@@ -392,7 +392,7 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
392
392
|
l[3] || (l[3] = e("span", { style: { "margin-top": "2px" } }, "UUID", -1)),
|
|
393
393
|
e("span", null, t(n(o)("inspector.type")), 1)
|
|
394
394
|
]),
|
|
395
|
-
e("div",
|
|
395
|
+
e("div", Ce, [
|
|
396
396
|
e("span", null, t(s.entity_name), 1),
|
|
397
397
|
e("span", null, t(s.entity_id), 1),
|
|
398
398
|
e("span", null, t(s.entity_type), 1)
|
|
@@ -401,9 +401,9 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
401
401
|
[m, s.expanded]
|
|
402
402
|
])
|
|
403
403
|
]),
|
|
404
|
-
e("ul",
|
|
405
|
-
(c(!0), r(y, null,
|
|
406
|
-
key:
|
|
404
|
+
e("ul", fe, [
|
|
405
|
+
(c(!0), r(y, null, C(s.propertySets, (p, R) => (c(), r("li", {
|
|
406
|
+
key: R,
|
|
407
407
|
class: "propertyset",
|
|
408
408
|
onClick: (g) => T(p)
|
|
409
409
|
}, [
|
|
@@ -416,11 +416,11 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
416
416
|
]),
|
|
417
417
|
d(e("div", Te, [
|
|
418
418
|
e("ul", Se, [
|
|
419
|
-
(c(!0), r(y, null,
|
|
420
|
-
key:
|
|
419
|
+
(c(!0), r(y, null, C(p.properties, (g, w) => (c(), r("li", {
|
|
420
|
+
key: w,
|
|
421
421
|
class: "properties"
|
|
422
422
|
}, [
|
|
423
|
-
(c(!0), r(y, null,
|
|
423
|
+
(c(!0), r(y, null, C(g, (x, P) => (c(), r("div", {
|
|
424
424
|
class: "title_value",
|
|
425
425
|
key: P
|
|
426
426
|
}, [
|
|
@@ -440,10 +440,10 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
440
440
|
], 512), [
|
|
441
441
|
[m, h.value]
|
|
442
442
|
]),
|
|
443
|
-
d(e("div",
|
|
443
|
+
d(e("div", De, [
|
|
444
444
|
e("img", {
|
|
445
445
|
src: n(H) + "/bimkk-app/pinapp-empty-box.png"
|
|
446
|
-
}, null, 8,
|
|
446
|
+
}, null, 8, Re),
|
|
447
447
|
e("span", null, t(n(o)("inspector.noSelection")), 1)
|
|
448
448
|
], 512), [
|
|
449
449
|
[m, !h.value]
|
|
@@ -454,12 +454,12 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
454
454
|
!n(v)("isMobile") && n(N).currentTheme == "light-gray" ? (c(), Q(X, {
|
|
455
455
|
key: 1,
|
|
456
456
|
panelTitle: n(o)("inspector.title"),
|
|
457
|
-
"click-handle":
|
|
457
|
+
"click-handle": V,
|
|
458
458
|
class: "pc_Inspector",
|
|
459
459
|
pos: n(v)("inspectorPos")
|
|
460
460
|
}, {
|
|
461
461
|
default: I(() => [
|
|
462
|
-
e("div",
|
|
462
|
+
e("div", we, [
|
|
463
463
|
e("div", xe, t(n(o)("inspector.instanceProperties")), 1),
|
|
464
464
|
e("div", Ee, t(n(o)("inspector.typeProperties")), 1)
|
|
465
465
|
]),
|
|
@@ -484,7 +484,7 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
484
484
|
l[4] || (l[4] = e("span", { style: { "margin-top": "2px" } }, "UUID", -1)),
|
|
485
485
|
e("span", null, t(n(o)("inspector.type")), 1)
|
|
486
486
|
]),
|
|
487
|
-
e("div",
|
|
487
|
+
e("div", Ae, [
|
|
488
488
|
e("span", null, t(s.entity_name), 1),
|
|
489
489
|
e("span", null, t(s.entity_id), 1),
|
|
490
490
|
e("span", null, t(s.entity_type), 1)
|
|
@@ -493,9 +493,9 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
493
493
|
[m, s.expanded]
|
|
494
494
|
])
|
|
495
495
|
]),
|
|
496
|
-
e("ul",
|
|
497
|
-
(c(!0), r(y, null,
|
|
498
|
-
key:
|
|
496
|
+
e("ul", Ve, [
|
|
497
|
+
(c(!0), r(y, null, C(s.propertySets, (p, R) => (c(), r("li", {
|
|
498
|
+
key: R,
|
|
499
499
|
class: "propertyset",
|
|
500
500
|
onClick: (g) => T(p)
|
|
501
501
|
}, [
|
|
@@ -508,11 +508,11 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
508
508
|
]),
|
|
509
509
|
d(e("div", Ue, [
|
|
510
510
|
e("ul", $e, [
|
|
511
|
-
(c(!0), r(y, null,
|
|
512
|
-
key:
|
|
511
|
+
(c(!0), r(y, null, C(p.properties, (g, w) => (c(), r("li", {
|
|
512
|
+
key: w,
|
|
513
513
|
class: "properties"
|
|
514
514
|
}, [
|
|
515
|
-
(c(!0), r(y, null,
|
|
515
|
+
(c(!0), r(y, null, C(g, (x, P) => (c(), r("div", {
|
|
516
516
|
class: "title_value",
|
|
517
517
|
key: P
|
|
518
518
|
}, [
|
|
@@ -532,14 +532,14 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
532
532
|
], 512), [
|
|
533
533
|
[m, h.value]
|
|
534
534
|
]),
|
|
535
|
-
d(e("div",
|
|
536
|
-
e("div",
|
|
535
|
+
d(e("div", Ge, [
|
|
536
|
+
e("div", Ke, [
|
|
537
537
|
e("span", null, t(n(o)("inspector.objectCount")), 1),
|
|
538
538
|
e("span", Qe, t(a.objectCount), 1)
|
|
539
539
|
]),
|
|
540
|
-
e("div",
|
|
540
|
+
e("div", Je, [
|
|
541
541
|
e("span", null, t(n(o)("inspector.pSetsCount")), 1),
|
|
542
|
-
e("span",
|
|
542
|
+
e("span", Ze, t(a.pSetsCount), 1)
|
|
543
543
|
]),
|
|
544
544
|
n(v)("multiModel") ? O("", !0) : (c(), r("div", Xe, [
|
|
545
545
|
e("span", null, t(n(o)("bcf.createDate")), 1),
|
|
@@ -564,7 +564,7 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
564
564
|
class: "close",
|
|
565
565
|
width: 0.4,
|
|
566
566
|
"size-type": "rem",
|
|
567
|
-
"click-handle":
|
|
567
|
+
"click-handle": V
|
|
568
568
|
})
|
|
569
569
|
])
|
|
570
570
|
]),
|
|
@@ -599,15 +599,15 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
599
599
|
]),
|
|
600
600
|
e("div", yt, [
|
|
601
601
|
e("span", vt, t(n(o)("inspector.type")), 1),
|
|
602
|
-
e("span",
|
|
602
|
+
e("span", Ct, t(s.entity_type), 1)
|
|
603
603
|
])
|
|
604
604
|
], 512), [
|
|
605
605
|
[m, s.expanded]
|
|
606
606
|
])
|
|
607
607
|
]),
|
|
608
|
-
e("ul",
|
|
609
|
-
(c(!0), r(y, null,
|
|
610
|
-
key:
|
|
608
|
+
e("ul", ft, [
|
|
609
|
+
(c(!0), r(y, null, C(s.propertySets, (p, R) => (c(), r("li", {
|
|
610
|
+
key: R,
|
|
611
611
|
class: "propertyset",
|
|
612
612
|
onClick: (g) => T(p)
|
|
613
613
|
}, [
|
|
@@ -620,11 +620,11 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
620
620
|
]),
|
|
621
621
|
d(e("div", Tt, [
|
|
622
622
|
e("ul", St, [
|
|
623
|
-
(c(!0), r(y, null,
|
|
624
|
-
key:
|
|
623
|
+
(c(!0), r(y, null, C(p.properties, (g, w) => (c(), r("li", {
|
|
624
|
+
key: w,
|
|
625
625
|
class: "properties"
|
|
626
626
|
}, [
|
|
627
|
-
(c(!0), r(y, null,
|
|
627
|
+
(c(!0), r(y, null, C(g, (x, P) => (c(), r("div", {
|
|
628
628
|
class: "title_value",
|
|
629
629
|
key: P
|
|
630
630
|
}, [
|
|
@@ -644,14 +644,14 @@ const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src
|
|
|
644
644
|
], 512), [
|
|
645
645
|
[m, h.value]
|
|
646
646
|
]),
|
|
647
|
-
d(e("div",
|
|
647
|
+
d(e("div", Dt, [
|
|
648
648
|
e("div", null, [
|
|
649
649
|
e("span", null, t(n(o)("inspector.objectCount")), 1),
|
|
650
|
-
e("span",
|
|
650
|
+
e("span", Rt, t(a.objectCount), 1)
|
|
651
651
|
]),
|
|
652
652
|
e("div", null, [
|
|
653
653
|
e("span", null, t(n(o)("inspector.pSetsCount")), 1),
|
|
654
|
-
e("span",
|
|
654
|
+
e("span", wt, t(a.pSetsCount), 1)
|
|
655
655
|
]),
|
|
656
656
|
e("div", null, [
|
|
657
657
|
e("span", null, t(n(o)("bcf.createDate")), 1),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as Ne } from "./panel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { defineComponent as Ue, ref as n, onMounted as ie, onBeforeUnmount as Fe, watch as Oe,
|
|
1
|
+
import { A as De, B as Re, T as ae, D as ne, C as f, O as w, F as Ce, Q as Le, R as $e, G as Pe, V as ue, I as ze } from "./index-CBXvm6RA.mjs";
|
|
2
|
+
import { _ as Ne } from "./panel.vue_vue_type_style_index_0_lang-IOvVcvu7.mjs";
|
|
3
|
+
import { defineComponent as Ue, ref as n, onMounted as ie, onBeforeUnmount as Fe, watch as Oe, createElementBlock as c, openBlock as i, Fragment as E, createBlock as Xe, withDirectives as Ye, unref as t, withCtx as U, createElementVNode as s, renderList as F, normalizeClass as ce, toDisplayString as o, createVNode as T, createCommentVNode as He, normalizeStyle as re, vShow as Qe } from "vue";
|
|
4
4
|
import { M as O } from "./const-DOnRsYpZ.mjs";
|
|
5
5
|
const We = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "measure_panel_content"
|
|
8
|
-
}, je = { class: "measurement_type" },
|
|
8
|
+
}, je = { class: "measurement_type" }, qe = ["onClick"], Je = ["src"], Ke = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "measurement_data"
|
|
11
11
|
}, Ze = { class: "data_box" }, Ge = { style: { color: "#0065fc" } }, es = { class: "data_box" }, ss = { style: { color: "#fe4444" } }, ts = { class: "data_box" }, ls = { style: { color: "#4ed17a" } }, os = { class: "data_box" }, as = { style: { color: "#ffce19" } }, ns = {
|
|
@@ -33,13 +33,13 @@ const We = {
|
|
|
33
33
|
S.setReadyById(me.componentId), ae.currentTheme == "blue" ? X.value = 224 : ae.currentTheme == "light-gray" && (X.value = 202);
|
|
34
34
|
});
|
|
35
35
|
let r, k, D, _;
|
|
36
|
-
const v = n(1), R = n(), h = n(), V = n(), y = n(), Y = n(), W = n(), j = n(),
|
|
36
|
+
const v = n(1), R = n(), h = n(), V = n(), y = n(), Y = n(), W = n(), j = n(), q = n(), x = n(1), A = n("m"), b = n(3), B = n(!1), _e = [{ value: "m" }, { value: "cm" }, { value: "mm" }], d = n(!1), he = [
|
|
37
37
|
{ label: "0", value: 0 },
|
|
38
38
|
{ label: "0.0", value: 1 },
|
|
39
39
|
{ label: "0.00", value: 2 },
|
|
40
40
|
{ label: "0.000", value: 3 }
|
|
41
|
-
],
|
|
42
|
-
|
|
41
|
+
], J = de, K = (e) => {
|
|
42
|
+
J("emitHandler", e);
|
|
43
43
|
}, Z = () => {
|
|
44
44
|
D = window.bimViewer, ue.SaveViewerState({ measure: "distance" }), k = window.bimViewer.measureAngleTool, r = window.bimViewer.measureDistanceTool, _ = window.bimViewer.eventTrigger, f("isMobile") && (_.on("newAngleMeasure", (e) => {
|
|
45
45
|
d.value = !1;
|
|
@@ -48,7 +48,7 @@ const We = {
|
|
|
48
48
|
})), _.on("createAngleMeasure", (e) => {
|
|
49
49
|
Y.value = e.id, y.value = e.result, f("isMobile") && (d.value = !0), m("createAngleMeasure", { newMeasure: e });
|
|
50
50
|
}), _.on("createDistanceMeasure", (e) => {
|
|
51
|
-
R.value = e.id, V.value = e.id, h.value = e.result, W.value = e.xResult ? e.xResult : 0, j.value = e.yResult ? e.yResult : 0,
|
|
51
|
+
R.value = e.id, V.value = e.id, h.value = e.result, W.value = e.xResult ? e.xResult : 0, j.value = e.yResult ? e.yResult : 0, q.value = e.zResult ? e.zResult : 0, f("isMobile") && (d.value = !0), m("createAngleMeasure", { newMeasure: e });
|
|
52
52
|
}), _.on("clickDistanceMeasure", (e) => {
|
|
53
53
|
v.value == 2 && C(O[0]), R.value = e.id, Te(e.id), f("isMobile") && (d.value = !0), m("clickDistanceMeasure", { id: e.id });
|
|
54
54
|
}), _.on("clickAngleMeasure", (e) => {
|
|
@@ -64,19 +64,19 @@ const We = {
|
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
const m = (e, u) => {
|
|
67
|
-
|
|
67
|
+
K({
|
|
68
68
|
isTool: !0,
|
|
69
69
|
event_name: e,
|
|
70
70
|
event_target: "MeasureTool",
|
|
71
71
|
content: u
|
|
72
72
|
});
|
|
73
73
|
}, pe = () => {
|
|
74
|
-
window.bimViewer.measureTool.setActive(!1),
|
|
74
|
+
window.bimViewer.measureTool.setActive(!1), J("closePanel"), B.value === !0 && L();
|
|
75
75
|
}, C = (e) => {
|
|
76
76
|
v.value !== e.id && (v.value = e.id, ue.SaveViewerState({ measure: e.code }), ge(e), f("isMobile") && (d.value = !1));
|
|
77
77
|
}, ge = (e) => {
|
|
78
78
|
let u = e.code;
|
|
79
|
-
window.bimViewer.measureTool.setActiveByType(u, !0),
|
|
79
|
+
window.bimViewer.measureTool.setActiveByType(u, !0), K({
|
|
80
80
|
isTool: !0,
|
|
81
81
|
event_name: "",
|
|
82
82
|
event_target: "MeasureTool",
|
|
@@ -109,7 +109,7 @@ const We = {
|
|
|
109
109
|
document.getElementById("top_bar");
|
|
110
110
|
});
|
|
111
111
|
const M = n(!1);
|
|
112
|
-
let $ = !1, P = 0, z = 0, H = 0,
|
|
112
|
+
let $ = !1, P = 0, z = 0, H = 0, Q = 0;
|
|
113
113
|
const p = n(290), g = n(300), xe = () => {
|
|
114
114
|
M.value = !M.value, M.value ? Ae() : Be();
|
|
115
115
|
}, G = (e) => {
|
|
@@ -117,7 +117,7 @@ const We = {
|
|
|
117
117
|
}, ee = (e) => {
|
|
118
118
|
if (e.touches.length == 1) {
|
|
119
119
|
const u = e.touches[0].clientX, N = e.touches[0].clientY;
|
|
120
|
-
H = u - P,
|
|
120
|
+
H = u - P, Q = N - z, p.value += H, g.value += Q;
|
|
121
121
|
let I = new Int16Array(2);
|
|
122
122
|
I[0] = p.value + 5, I[1] = g.value + 6, P = u, z = N, D.measureTool.currentTool.onSimulateMousemove([p.value, g.value]);
|
|
123
123
|
}
|
|
@@ -125,14 +125,14 @@ const We = {
|
|
|
125
125
|
$ && D.measureTool.currentTool.onSimulateMouseup([p.value, g.value]);
|
|
126
126
|
}, Ae = () => {
|
|
127
127
|
const e = document.getElementById("measure_mouseGroup");
|
|
128
|
-
e == null || e.addEventListener("touchstart", G), e == null || e.addEventListener("touchmove", ee), e == null || e.addEventListener("touchend", se), p.value = 290, g.value = 300, P = 0, z = 0, H = 0,
|
|
128
|
+
e == null || e.addEventListener("touchstart", G), e == null || e.addEventListener("touchmove", ee), e == null || e.addEventListener("touchend", se), p.value = 290, g.value = 300, P = 0, z = 0, H = 0, Q = 0, $ = !1;
|
|
129
129
|
}, Be = () => {
|
|
130
130
|
const e = document.getElementById("measure_mouseGroup");
|
|
131
131
|
e == null || e.removeEventListener("touchstart", G), e == null || e.removeEventListener("touchmove", ee), e == null || e.removeEventListener("touchend", se);
|
|
132
132
|
};
|
|
133
133
|
return (e, u) => {
|
|
134
134
|
var le, oe;
|
|
135
|
-
const N = Ce, I =
|
|
135
|
+
const N = Ce, I = $e, te = Le, Ie = Ne, Ee = Pe;
|
|
136
136
|
return i(), c(E, null, [
|
|
137
137
|
t(f)("isMobile") ? (i(), c("div", gs, [
|
|
138
138
|
T(Ee, null, {
|
|
@@ -165,7 +165,7 @@ const We = {
|
|
|
165
165
|
}, null, 8, ks),
|
|
166
166
|
s("div", Vs, o(t(a)("common.delete")), 1)
|
|
167
167
|
])
|
|
168
|
-
])) :
|
|
168
|
+
])) : He("", !0)
|
|
169
169
|
])
|
|
170
170
|
]),
|
|
171
171
|
_: 1
|
|
@@ -262,10 +262,10 @@ const We = {
|
|
|
262
262
|
class: "measurement_img",
|
|
263
263
|
src: t(w) + `/bim-viewer/action-bars/${v.value === l.id ? l.imgActive : l.img}.svg`,
|
|
264
264
|
alt: ""
|
|
265
|
-
}, null, 8,
|
|
266
|
-
], 10,
|
|
265
|
+
}, null, 8, Je)
|
|
266
|
+
], 10, qe))), 128))
|
|
267
267
|
]),
|
|
268
|
-
v.value == 1 ? (i(), c("div",
|
|
268
|
+
v.value == 1 ? (i(), c("div", Ke, [
|
|
269
269
|
s("div", Ze, [
|
|
270
270
|
s("div", null, o(t(a)("measure.totalLength")), 1),
|
|
271
271
|
s("div", Ge, o(h.value ? h.value.toFixed(b.value) : "~"), 1)
|
|
@@ -280,7 +280,7 @@ const We = {
|
|
|
280
280
|
]),
|
|
281
281
|
s("div", os, [
|
|
282
282
|
s("div", null, o(t(a)("measure.z")), 1),
|
|
283
|
-
s("div", as, o(
|
|
283
|
+
s("div", as, o(q.value), 1)
|
|
284
284
|
])
|
|
285
285
|
])) : (i(), c("div", ns, [
|
|
286
286
|
s("div", us, [
|
|
@@ -296,7 +296,7 @@ const We = {
|
|
|
296
296
|
]),
|
|
297
297
|
_: 1
|
|
298
298
|
}, 8, ["width", "panelTitle"])),
|
|
299
|
-
|
|
299
|
+
Ye(s("div", {
|
|
300
300
|
id: "measure_mouseGroup",
|
|
301
301
|
class: "mouse_group",
|
|
302
302
|
style: re({ left: `${p.value}px`, top: `${g.value}px` })
|
|
@@ -312,7 +312,7 @@ const We = {
|
|
|
312
312
|
src: `${t(w)}/industry-viewer/mouse-active-large.svg`
|
|
313
313
|
}, null, 8, Is)
|
|
314
314
|
], 4), [
|
|
315
|
-
[
|
|
315
|
+
[Qe, M.value]
|
|
316
316
|
])
|
|
317
317
|
], 64);
|
|
318
318
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as Y, onMounted as x, onBeforeUnmount as A, ref as _, watch as C,
|
|
2
|
-
import {
|
|
3
|
-
const U = { class: "mouse_tool" },
|
|
1
|
+
import { defineComponent as Y, onMounted as x, onBeforeUnmount as A, ref as _, watch as C, createElementBlock as M, openBlock as $, withDirectives as D, createElementVNode as g, normalizeStyle as F, unref as L, vShow as N } from "vue";
|
|
2
|
+
import { B as R, D as s, O as V, V as k } from "./index-CBXvm6RA.mjs";
|
|
3
|
+
const U = { class: "mouse_tool" }, z = ["src"], P = ["src"], J = /* @__PURE__ */ Y({
|
|
4
4
|
__name: "MouseTool",
|
|
5
5
|
props: ["componentId"],
|
|
6
6
|
setup(O) {
|
|
@@ -37,42 +37,42 @@ const U = { class: "mouse_tool" }, q = ["src"], z = ["src"], J = /* @__PURE__ */
|
|
|
37
37
|
o || e.touches.length == 1 && (d = !0, r = e.touches[0].clientX, a = e.touches[0].clientY), setTimeout(function() {
|
|
38
38
|
e.preventDefault();
|
|
39
39
|
}, 300);
|
|
40
|
-
},
|
|
40
|
+
}, B = (e) => {
|
|
41
41
|
o && (l.value = !0, s.emit("focusEntity", n));
|
|
42
|
-
},
|
|
42
|
+
}, I = (e) => {
|
|
43
43
|
if (d && e.touches.length == 1) {
|
|
44
|
-
const f = e.touches[0].clientX,
|
|
45
|
-
m = f - r, v =
|
|
44
|
+
const f = e.touches[0].clientX, b = e.touches[0].clientY;
|
|
45
|
+
m = f - r, v = b - a, c.value += m, i.value += v;
|
|
46
46
|
let h = new Int16Array(2);
|
|
47
47
|
h[0] = c.value + 5, h[1] = i.value + 6;
|
|
48
48
|
const u = t.viewer.scene.pick({
|
|
49
49
|
canvasPos: h
|
|
50
50
|
});
|
|
51
|
-
u ? (o = !0, n !== u.entity.id && (n = u.entity.id, t.setAllObjectsSelected(!1), t.setEntitySelected(u.entity))) : (o = !1, n = "", t.setAllObjectsSelected(!1)), k.entityState.selectedObjectIds.length > 0 && t.setObjectsSelected(k.entityState.selectedObjectIds, !0), r = f, a =
|
|
51
|
+
u ? (o = !0, n !== u.entity.id && (n = u.entity.id, t.setAllObjectsSelected(!1), t.setEntitySelected(u.entity))) : (o = !1, n = "", t.setAllObjectsSelected(!1)), k.entityState.selectedObjectIds.length > 0 && t.setObjectsSelected(k.entityState.selectedObjectIds, !0), r = f, a = b;
|
|
52
52
|
}
|
|
53
53
|
}, j = () => {
|
|
54
54
|
const e = document.getElementById("mouseGroup");
|
|
55
|
-
e == null || e.addEventListener("touchstart", S), e == null || e.addEventListener("touchmove",
|
|
55
|
+
e == null || e.addEventListener("touchstart", S), e == null || e.addEventListener("touchmove", I), e == null || e.addEventListener("click", B), c.value = 290, i.value = 300;
|
|
56
56
|
}, X = () => {
|
|
57
57
|
const e = document.getElementById("mouseGroup");
|
|
58
|
-
e == null || e.removeEventListener("touchstart", S), e == null || e.removeEventListener("touchmove",
|
|
58
|
+
e == null || e.removeEventListener("touchstart", S), e == null || e.removeEventListener("touchmove", I), e == null || e.removeEventListener("click", B);
|
|
59
59
|
};
|
|
60
|
-
return (e, f) => (
|
|
61
|
-
|
|
60
|
+
return (e, f) => ($(), M("div", U, [
|
|
61
|
+
D(g("div", {
|
|
62
62
|
id: "mouseGroup",
|
|
63
63
|
class: "mouse_group",
|
|
64
|
-
style:
|
|
64
|
+
style: F({ left: `${c.value}px`, top: `${i.value}px` })
|
|
65
65
|
}, [
|
|
66
66
|
g("img", {
|
|
67
67
|
id: "mouse_icon",
|
|
68
68
|
class: "mouse_icon",
|
|
69
69
|
src: `${L(V)}/industry-viewer/mouse-icon.svg`
|
|
70
|
-
}, null, 8,
|
|
70
|
+
}, null, 8, z),
|
|
71
71
|
g("img", {
|
|
72
72
|
id: "mouse_img",
|
|
73
73
|
class: "mouse_img",
|
|
74
74
|
src: `${L(V)}/industry-viewer/mouse-active-large.svg`
|
|
75
|
-
}, null, 8,
|
|
75
|
+
}, null, 8, P)
|
|
76
76
|
], 4), [
|
|
77
77
|
[N, !l.value]
|
|
78
78
|
])
|