@xtctwins/tctwins-bimx-engine 0.3.11 → 0.3.13
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 +1 -1
- package/dist/{AnnotationTool-BnLd0s38.mjs → AnnotationTool-k3W4xmw6.mjs} +13 -14
- package/dist/BIMX_Viewer_Lib.es.js +5 -5
- package/dist/BIMX_Viewer_Lib.umd.js +184 -164
- package/dist/{CameraViewTool-BGmwAori.mjs → CameraViewTool-CuXnJa74.mjs} +15 -15
- package/dist/{CommentTool-B9TgO52t.mjs → CommentTool-CUtaZc7Y.mjs} +276 -277
- package/dist/{HiddenTool-CNMJqZzC.mjs → HiddenTool-CzJ19mP1.mjs} +9 -10
- package/dist/{InspectorTool-CiyN_aCB.mjs → InspectorTool-BTH82K8b.mjs} +3 -3
- package/dist/MeasureTool-BvPkIvmX.mjs +593 -0
- package/dist/{MouseTool-B07SstRZ.mjs → MouseTool-CiywjpW3.mjs} +6 -6
- package/dist/{NavigateTool-B8qIl9xy.mjs → NavigateTool-CDlYpMXl.mjs} +13 -14
- package/dist/OperateTool-NMIYz2YN.mjs +185 -0
- package/dist/{RoamTool-3sDI1Ouu.mjs → RoamTool-BkwJBBAg.mjs} +1 -1
- package/dist/{ScreenShotTool-CjsT2-Va.mjs → ScreenShotTool-BP-xDRKf.mjs} +16 -17
- package/dist/SectionTool-mt4iqa1I.mjs +241 -0
- package/dist/SettingTool-DieHq4VO.mjs +1745 -0
- package/dist/{StructureTree-B183vT5b.mjs → StructureTree-C8C435JY.mjs} +5 -6
- package/dist/{alert-DN7oOiZl.mjs → alert-B9Uw8l52.mjs} +18 -13
- package/dist/{index-DfRswjrC.mjs → index-B_IMYBaJ.mjs} +59333 -53195
- package/dist/{panel.vue_vue_type_style_index_0_lang-DOsptET6.mjs → panel.vue_vue_type_style_index_0_lang-BswWCo8x.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tallPanel-D0Zgkc3n.mjs → tallPanel-CnTIaRU-.mjs} +1 -1
- package/package.json +5 -5
- package/types/components/BimViewerComponents/OperateTool.vue.d.ts +12 -0
- package/types/components/BimViewerComponents/SectionModeBar.vue.d.ts +2 -0
- package/types/components/BimxViewerComp.vue.d.ts +2 -0
- package/types/components/utilsComponents/alert.vue.d.ts +9 -0
- package/types/i18n/index.d.ts +212 -0
- package/types/i18n/locales/en-US.d.ts +53 -0
- package/types/i18n/locales/zh-CN.d.ts +53 -0
- package/types/pages/BimxViewerEntry.vue.d.ts +3 -0
- package/types/store/const.d.ts +12 -0
- package/types/store/toolbars.d.ts +53 -1
- package/types/utils/OSSHelper.d.ts +2 -0
- package/types/utils/eventBus.d.ts +6 -1
- package/types/viewerManager/load/loadModel.d.ts +88 -0
- package/types/viewerManager/sectionManager.d.ts +524 -0
- package/types/viewerManager/viewerManager.d.ts +7 -1
- package/dist/AnnotationTool-Bp8DGFFA.mjs +0 -167
- package/dist/CameraViewTool-BwVnc0ua.mjs +0 -164
- package/dist/CommentTool-C7NLPxMd.mjs +0 -1529
- package/dist/HiddenTool-i1AESn4-.mjs +0 -57
- package/dist/InspectorTool-D4gr7uiQ.mjs +0 -679
- package/dist/MeasureTool-BNBUx-1X.mjs +0 -323
- package/dist/MeasureTool-Cxnp9MVY.mjs +0 -323
- package/dist/MouseTool-DVqNDADf.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-Bpk5jewK.mjs +0 -331
- package/dist/SectionTool-DMSGkjYm.mjs +0 -331
- package/dist/SettingTool-BuSm2JB6.mjs +0 -695
- package/dist/SettingTool-IBRpWdfo.mjs +0 -695
- package/dist/StructureTree-D9z28tm4.mjs +0 -1686
- package/dist/alert-DwTFq4bp.mjs +0 -47
- package/dist/const-DOnRsYpZ.mjs +0 -389
- package/dist/el-slider-C9_q447A.mjs +0 -1059
- 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-E8w23EhV.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
|
-
};
|