@xtctwins/tctwins-bimx-engine 0.3.11 → 0.3.12
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/BIMX_Viewer_Lib.es.js +1 -1
- package/package.json +1 -1
- package/dist/AnnotationTool-Bp8DGFFA.mjs +0 -167
- package/dist/CameraViewTool-BGmwAori.mjs +0 -164
- package/dist/CommentTool-C7NLPxMd.mjs +0 -1529
- package/dist/HiddenTool-i1AESn4-.mjs +0 -57
- package/dist/InspectorTool-CiyN_aCB.mjs +0 -679
- package/dist/MeasureTool-Cxnp9MVY.mjs +0 -323
- package/dist/MouseTool-B07SstRZ.mjs +0 -84
- package/dist/NavigateTool-DKTSPVCL.mjs +0 -52
- package/dist/RoamTool-CazuxheL.mjs +0 -287
- package/dist/ScreenShotTool-fYVxpPrW.mjs +0 -430
- package/dist/SectionTool-DMSGkjYm.mjs +0 -331
- package/dist/SettingTool-IBRpWdfo.mjs +0 -695
- package/dist/StructureTree-B183vT5b.mjs +0 -1686
- package/dist/alert-DN7oOiZl.mjs +0 -47
- package/dist/el-slider-dslleM3g.mjs +0 -1059
- package/dist/index-BzB8rqmg.mjs +0 -131961
- package/dist/panel.vue_vue_type_style_index_0_lang-DOsptET6.mjs +0 -61
- package/dist/tallPanel-Dp1ZbCTR.mjs +0 -84
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, onMounted as E, ref as k, onBeforeUnmount as B, openBlock as s, createElementBlock as l, createElementVNode as r, Fragment as C, renderList as H, unref as c, normalizeClass as w, toDisplayString as I } from "vue";
|
|
2
|
-
import { F as S, G as T, I as m, P as A, H as O, M as x } from "./index-BzB8rqmg.mjs";
|
|
3
|
-
import { H as j } from "./const-DOnRsYpZ.mjs";
|
|
4
|
-
const D = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["onClick"], F = ["src"], N = /* @__PURE__ */ y({
|
|
5
|
-
__name: "HiddenTool",
|
|
6
|
-
props: ["componentId"],
|
|
7
|
-
emits: ["closePanel", "emitHandler"],
|
|
8
|
-
setup(u, { emit: P }) {
|
|
9
|
-
const _ = S(), o = T(), b = u;
|
|
10
|
-
E(() => {
|
|
11
|
-
o.setReadyById(b.componentId);
|
|
12
|
-
});
|
|
13
|
-
const i = k(0), d = () => {
|
|
14
|
-
const { eventTrigger: e } = window.bimViewer;
|
|
15
|
-
O("isMobile") ? e.on("touchEntity", (n) => {
|
|
16
|
-
!window.bimViewer.disableClickEvent || !o.isToolActiveBykey("hidden") || a(n);
|
|
17
|
-
}) : e.on("pickedEntity", (n) => {
|
|
18
|
-
!window.bimViewer.disableClickEvent || !o.isToolActiveBykey("hidden") || a(n);
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
m.on("BimViewer", d), B(() => {
|
|
22
|
-
m.off("BimViewer", d);
|
|
23
|
-
});
|
|
24
|
-
const a = (e) => {
|
|
25
|
-
i.value != -1 && (i.value == 1 ? f(e) : i.value == 2 ? v(e) : i.value == 3 && h(e));
|
|
26
|
-
}, f = (e) => {
|
|
27
|
-
window.bimViewer.setEntityVisible(e);
|
|
28
|
-
}, v = (e) => {
|
|
29
|
-
window.bimViewer.setEntityHighlighted(e);
|
|
30
|
-
}, h = (e) => {
|
|
31
|
-
window.bimViewer.setEntitySelected(e);
|
|
32
|
-
}, p = () => {
|
|
33
|
-
window.bimViewer.setAllObjectsVisible(!0), window.bimViewer.setAllObjectsHighlighted(!1), window.bimViewer.setAllObjectsSelected(!1);
|
|
34
|
-
}, g = (e) => {
|
|
35
|
-
e == 0 ? (i.value = e, p()) : i.value = e;
|
|
36
|
-
};
|
|
37
|
-
return (e, n) => (s(), l("div", D, [
|
|
38
|
-
r("div", L, [
|
|
39
|
-
(s(!0), l(C, null, H(c(j), (t, V) => (s(), l("div", {
|
|
40
|
-
key: V,
|
|
41
|
-
class: w(["button_", { button_active: i.value == t.id }]),
|
|
42
|
-
onClick: (R) => g(t.id)
|
|
43
|
-
}, [
|
|
44
|
-
r("img", {
|
|
45
|
-
src: c(A) + `/bim-viewer/hidden-bar/new-icon/bimkk-mobile-hidden-${i.value == t.id ? t.img_active : t.img}.svg`
|
|
46
|
-
}, null, 8, F),
|
|
47
|
-
r("span", {
|
|
48
|
-
class: w({ active_text: i.value == t.id })
|
|
49
|
-
}, I(c(_)(t.name)), 3)
|
|
50
|
-
], 10, M))), 128))
|
|
51
|
-
])
|
|
52
|
-
]));
|
|
53
|
-
}
|
|
54
|
-
}), G = /* @__PURE__ */ x(N, [["__scopeId", "data-v-a3ff9c01"]]);
|
|
55
|
-
export {
|
|
56
|
-
G as default
|
|
57
|
-
};
|