@xtctwins/tctwins-bimx-engine 0.3.2 → 0.3.3
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 +196 -193
- package/dist/AnnotationTool-C3o-nYdK.mjs +167 -0
- package/dist/BIMX_Viewer_Lib.es.js +3 -3
- package/dist/BIMX_Viewer_Lib.umd.js +165 -265
- package/dist/CameraViewTool-DaGFzAdV.mjs +164 -0
- package/dist/CommentTool-BuqyVt4A.mjs +1529 -0
- package/dist/{HiddenTool-rORoKTeD.mjs → HiddenTool-B20p_qDY.mjs} +16 -16
- package/dist/{InspectorTool-l4bDxTia.mjs → InspectorTool-ChM2elpV.mjs} +66 -66
- package/dist/{MeasureTool-d-EV6m2R.mjs → MeasureTool-BZF__yUT.mjs} +107 -131
- package/dist/{MouseTool-DKMcdeRD.mjs → MouseTool-Bhmif0vq.mjs} +32 -35
- package/dist/{NavigateTool-BNvZ8Oat.mjs → NavigateTool-DER-SD2Y.mjs} +13 -13
- package/dist/{RoamTool-DJu93SVl.mjs → RoamTool-B2fyUtKk.mjs} +14 -14
- package/dist/ScreenShotTool-C8iq1Ssm.mjs +357 -0
- package/dist/SectionTool-CL95rzx4.mjs +331 -0
- package/dist/SettingTool-b9HLJ1iu.mjs +657 -0
- package/dist/StructureTree-DlqVbX97.mjs +1583 -0
- package/dist/{Alert-5pEYzrMO.mjs → alert-DoM5CyWV.mjs} +8 -8
- package/dist/const-DOnRsYpZ.mjs +389 -0
- package/dist/el-input-number-Bj97l7q_.mjs +818 -0
- package/dist/index-Cslxj2q_.mjs +128302 -0
- package/dist/index.html +17 -17
- package/dist/{Panel.vue_vue_type_style_index_0_lang-C4tqfy-B.mjs → panel.vue_vue_type_style_index_0_lang-r40t3eim.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dist/{TallPanel-DtXOSzmF.mjs → tallPanel-CdjNke7H.mjs} +14 -14
- package/package.json +3 -4
- package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +10 -38
- package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +22 -0
- package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +9 -37
- package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +7 -5
- package/types/components/BCFComponents/BCFFilter.vue.d.ts +7 -5
- package/types/components/BCFComponents/BCFTool.vue.d.ts +7 -4
- package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +7 -5
- package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +6 -5
- package/types/components/BCFComponents/commentInput.vue.d.ts +10 -36
- package/types/components/BCFComponents/commentsView.vue.d.ts +7 -36
- package/types/components/BCFComponents/dialogPanel.vue.d.ts +8 -5
- package/types/components/BCFComponents/imageView.vue.d.ts +7 -5
- package/types/components/BCFComponents/imageZoomIn.vue.d.ts +6 -5
- package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +1 -18
- package/types/components/{tools/NavigateTool.vue.d.ts → BimViewerComponents/CameraViewTool.vue.d.ts} +3 -1
- package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/CommentTool.vue.d.ts +1 -32
- package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/InspectorTool.vue.d.ts +0 -2
- package/types/components/BimViewerComponents/MeasureTool.vue.d.ts +0 -2
- package/types/components/BimViewerComponents/MobileCommentsTool/{MobileCommentAdd.vue.d.ts → add.vue.d.ts} +8 -6
- package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +5 -4
- package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
- package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +1 -478
- package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +7 -499
- package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +6 -5
- 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/SectionTool.vue.d.ts +0 -4
- package/types/components/BimViewerComponents/SettingTool.vue.d.ts +6 -4
- package/types/components/BimViewerComponents/StructureTree.vue.d.ts +1 -4026
- package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/emptyPage.vue.d.ts +8 -0
- package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +1 -18
- package/types/components/BimxViewerComp.vue.d.ts +14 -7
- package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +10 -37
- package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +9 -37
- package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +7 -499
- package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +1 -478
- package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +8 -5
- package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +12 -38
- package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +9 -7
- package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +7 -5
- package/types/components/bimxViewer.vue.d.ts +14 -7
- 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 +2 -8
- package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
- package/types/components/utilsComponents/rectangleButton.vue.d.ts +1 -3
- package/types/components/utilsComponents/tallPanel.vue.d.ts +3 -13
- package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +3 -13
- package/types/i18n/index.d.ts +5 -5
- package/types/i18n/locales/en-US.d.ts +1 -1
- package/types/i18n/locales/zh-CN.d.ts +1 -1
- package/types/pages/BimxViewerEntry.vue.d.ts +59 -5
- package/types/pages/viewerEntry.vue.d.ts +57 -7
- package/types/store/bcfReflect.d.ts +81 -13
- package/types/store/const.d.ts +228 -11
- package/types/store/initConfigs.d.ts +1 -1
- package/types/store/toolbars.d.ts +117 -69
- package/types/store/userInfoStore.d.ts +1 -1
- package/types/tests/cmt.d.ts +1 -0
- package/types/utils/OSSHelper.d.ts +0 -27
- package/types/utils/cacheInfo.d.ts +3 -26
- package/types/utils/eventBus.d.ts +87 -1
- package/types/viewerManager/viewerManager.d.ts +3 -53
- package/dist/AnnotationTool-B3tDIyWy.mjs +0 -239
- package/dist/CommentTool--UgPVIZZ.mjs +0 -1541
- package/dist/ScreenShotTool-D2h0Qjtv.mjs +0 -430
- package/dist/SectionTool-DHw2Zfzv.mjs +0 -343
- package/dist/SettingTool-D13GBT87.mjs +0 -747
- package/dist/StructureTree-DHaOzAP9.mjs +0 -1662
- package/dist/bimTools-D3TraX9d.mjs +0 -75
- package/dist/el-slider-CHaMBaUG.mjs +0 -1040
- package/dist/index-BDupeKSG.mjs +0 -127986
- package/types/components/bcf/AddObjectOrAnno.vue.d.ts +0 -16
- package/types/components/bcf/BCFAddPanel.vue.d.ts +0 -55
- package/types/components/bcf/BCFDetailPanel.vue.d.ts +0 -59
- package/types/components/bcf/BCFDisplayList.vue.d.ts +0 -18
- package/types/components/bcf/BCFFilter.vue.d.ts +0 -14
- package/types/components/bcf/BCFTool.vue.d.ts +0 -15
- package/types/components/bcf/CheckObjectPanel.vue.d.ts +0 -11
- package/types/components/bcf/CommentInput.vue.d.ts +0 -51
- package/types/components/bcf/CommentsView.vue.d.ts +0 -48
- package/types/components/bcf/DialogPanel.vue.d.ts +0 -15
- package/types/components/bcf/ImageView.vue.d.ts +0 -17
- package/types/components/bcf/ImageZoomIn.vue.d.ts +0 -9
- package/types/components/bcf/MobileBCFAdd.vue.d.ts +0 -56
- package/types/components/bcf/MobileBCFDetail.vue.d.ts +0 -55
- package/types/components/bcf/MobileBCFDisplayList.vue.d.ts +0 -498
- package/types/components/bcf/MobileBCFFilter.vue.d.ts +0 -475
- package/types/components/bcf/MobileBCFTool.vue.d.ts +0 -17
- package/types/components/bcf/MobileCommentInput.vue.d.ts +0 -54
- package/types/components/bcf/MobileCommentsView.vue.d.ts +0 -17
- package/types/components/bcf/SelectPanel.vue.d.ts +0 -12
- package/types/components/comment/mobile/MobileCommentAdd.vue.d.ts +0 -14
- package/types/components/comment/mobile/MobileDetail.vue.d.ts +0 -11
- package/types/components/comment/mobile/MobileDraw.vue.d.ts +0 -17
- package/types/components/comment/mobile/MobileFilter.vue.d.ts +0 -475
- package/types/components/comment/mobile/MobileList.vue.d.ts +0 -497
- package/types/components/comment/mobile/MobileZoomIn.vue.d.ts +0 -9
- package/types/components/comment/pc/PcDraw.vue.d.ts +0 -14
- package/types/components/shared/Alert.vue.d.ts +0 -32
- package/types/components/shared/CloseButton.vue.d.ts +0 -50
- package/types/components/shared/CloseButtonDark.vue.d.ts +0 -32
- package/types/components/shared/EmptyPage.vue.d.ts +0 -6
- package/types/components/shared/Loading.vue.d.ts +0 -2
- package/types/components/shared/Panel.vue.d.ts +0 -47
- package/types/components/shared/Prompt.vue.d.ts +0 -8
- package/types/components/shared/RectangleButton.vue.d.ts +0 -106
- package/types/components/shared/TallPanel.vue.d.ts +0 -69
- package/types/components/shared/TallPanelNoPos.vue.d.ts +0 -82
- package/types/components/tools/AnnotationTool.vue.d.ts +0 -14
- package/types/components/tools/AppToolbar.vue.d.ts +0 -27
- package/types/components/tools/ClickEvent.vue.d.ts +0 -6
- package/types/components/tools/CommentTool.vue.d.ts +0 -45
- package/types/components/tools/HiddenTool.vue.d.ts +0 -12
- package/types/components/tools/InspectorTool.vue.d.ts +0 -14
- package/types/components/tools/MeasureTool.vue.d.ts +0 -14
- package/types/components/tools/MouseTool.vue.d.ts +0 -6
- package/types/components/tools/RoamTool.vue.d.ts +0 -12
- package/types/components/tools/ScreenShotTool.vue.d.ts +0 -10
- package/types/components/tools/SectionTool.vue.d.ts +0 -14
- package/types/components/tools/SettingTool.vue.d.ts +0 -13
- package/types/components/tools/StructureTree.vue.d.ts +0 -11645
- package/types/components/tools/Toolbar.vue.d.ts +0 -10
- package/types/composables/useBimViewerEvent.d.ts +0 -44
- package/types/composables/useEmitHandler.d.ts +0 -2
- package/types/composables/useToolActive.d.ts +0 -1
- package/types/composables/useToolReady.d.ts +0 -1
- package/types/store/const/app.d.ts +0 -66
- package/types/store/const/bimTools.d.ts +0 -81
- package/types/store/const/project.d.ts +0 -48
- package/types/store/const/theme.d.ts +0 -16
- package/types/store/const/toolbar.d.ts +0 -26
- package/types/stores/viewerStore.d.ts +0 -112
- package/types/types/bcf.d.ts +0 -83
- package/types/types/events.d.ts +0 -88
- package/types/utils/dbscan.d.ts +0 -1
|
@@ -1,343 +0,0 @@
|
|
|
1
|
-
import { _ as pe } from "./Alert-5pEYzrMO.mjs";
|
|
2
|
-
import { A as fe, B as he, T as F, C, D as B, Q as $, O as d, G as ke, U as ge, H as we, I as be } from "./index-BDupeKSG.mjs";
|
|
3
|
-
import { E as ye } from "./el-slider-CHaMBaUG.mjs";
|
|
4
|
-
import { _ as Se } from "./Panel.vue_vue_type_style_index_0_lang-C4tqfy-B.mjs";
|
|
5
|
-
import { defineComponent as Ce, ref as v, onMounted as Ve, watch as xe, onBeforeUnmount as Pe, openBlock as s, createElementBlock as l, Fragment as z, unref as i, createBlock as Te, withCtx as E, createElementVNode as o, toDisplayString as u, withDirectives as G, renderList as K, vShow as Q, createVNode as m, normalizeClass as Le, withModifiers as Be, createTextVNode as $e } from "vue";
|
|
6
|
-
import { B as ze } from "./bimTools-D3TraX9d.mjs";
|
|
7
|
-
const Ee = { class: "section_panel_middle" }, Ie = { class: "section_middle_title" }, Ae = { class: "section_control_button" }, De = ["src"], Oe = { class: "control_buttons" }, Me = ["onClick"], Ue = { class: "section_panel_cont" }, Ne = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: ""
|
|
10
|
-
}, Re = ["onClick"], He = { class: "cont_item_left" }, je = ["src", "onClick"], Fe = { class: "cont_item_right" }, Ge = ["src", "onClick"], Ke = ["src", "onClick"], Qe = ["src", "onClick"], We = {
|
|
11
|
-
key: 1,
|
|
12
|
-
class: "empty1"
|
|
13
|
-
}, qe = {
|
|
14
|
-
key: 1,
|
|
15
|
-
class: "mobile_section_panel"
|
|
16
|
-
}, Je = { class: "slicing-title-box" }, Xe = { class: "slicing-title" }, Ye = { class: "slicing-title-icon" }, Ze = { class: "slicing-content-box" }, eo = { class: "slicing-select-box" }, oo = { class: "select-item" }, to = { class: "select-item-left" }, no = ["src"], io = ["src"], so = { class: "select-item-center" }, lo = { class: "item-center-top" }, co = { class: "item-center-bottom" }, ao = { class: "select-item" }, ro = { class: "select-item-left" }, uo = ["src"], _o = ["src"], vo = { class: "select-item-center" }, mo = { class: "item-center-top" }, po = { class: "item-center-bottom" }, fo = { class: "select-item" }, ho = { class: "select-item-left" }, ko = ["src"], go = ["src"], wo = { class: "select-item-center" }, bo = { class: "item-center-top" }, yo = { class: "item-center-bottom" }, So = /* @__PURE__ */ Ce({
|
|
17
|
-
__name: "SectionTool",
|
|
18
|
-
props: ["componentId", "instruction"],
|
|
19
|
-
emits: ["closePanel", "emitHandler"],
|
|
20
|
-
setup(W, { emit: q }) {
|
|
21
|
-
const _ = fe(), I = he(), A = W, V = v(0);
|
|
22
|
-
Ve(() => {
|
|
23
|
-
I.setReadyById(A.componentId), F.currentTheme == "blue" ? V.value = 240 : F.currentTheme == "light-gray" && (V.value = 202), document.addEventListener("click", D);
|
|
24
|
-
});
|
|
25
|
-
const D = (e) => {
|
|
26
|
-
b.value && e.target.id != "controlOperatePanel" && M(!1);
|
|
27
|
-
}, O = v(!0), w = v(!1), r = v(), f = v(), b = v(!1), M = (e) => {
|
|
28
|
-
b.value = e;
|
|
29
|
-
};
|
|
30
|
-
let a;
|
|
31
|
-
const J = q;
|
|
32
|
-
xe(
|
|
33
|
-
() => I.isToolActive(A.componentId),
|
|
34
|
-
(e) => {
|
|
35
|
-
C("isMobile") && (e ? (g(h.value.direction), document.addEventListener("touchmove", N)) : document.removeEventListener("touchmove", N));
|
|
36
|
-
}
|
|
37
|
-
);
|
|
38
|
-
let x = !1;
|
|
39
|
-
const U = () => {
|
|
40
|
-
a = window.bimViewer.sectionTool;
|
|
41
|
-
};
|
|
42
|
-
B.on("BimViewer", U), $({
|
|
43
|
-
event: "createSection",
|
|
44
|
-
handler: (e) => {
|
|
45
|
-
C("isMobile") || (y(), r.value = Object.keys(re()).map((t) => ({
|
|
46
|
-
id: t,
|
|
47
|
-
isLook: !0,
|
|
48
|
-
directionLeft: !0
|
|
49
|
-
})), oe(e.id, !0), f.value = e.id, P(e.id));
|
|
50
|
-
},
|
|
51
|
-
defer: !0
|
|
52
|
-
}), $({
|
|
53
|
-
event: "touchPlaneStart",
|
|
54
|
-
handler: () => {
|
|
55
|
-
x = !0;
|
|
56
|
-
},
|
|
57
|
-
defer: !0
|
|
58
|
-
}), $({
|
|
59
|
-
event: "touchPlaneEnd",
|
|
60
|
-
handler: () => {
|
|
61
|
-
x = !1;
|
|
62
|
-
},
|
|
63
|
-
defer: !0
|
|
64
|
-
}), Pe(() => {
|
|
65
|
-
B.off("BimViewer", U), document.removeEventListener("click", D);
|
|
66
|
-
});
|
|
67
|
-
const N = () => {
|
|
68
|
-
x && X();
|
|
69
|
-
}, c = v({
|
|
70
|
-
x: 0,
|
|
71
|
-
y: 0,
|
|
72
|
-
z: 0
|
|
73
|
-
}), h = v({
|
|
74
|
-
direction: "x"
|
|
75
|
-
}), k = (e) => {
|
|
76
|
-
g(e);
|
|
77
|
-
}, g = (e) => {
|
|
78
|
-
switch (h.value.direction = e, e) {
|
|
79
|
-
case "x":
|
|
80
|
-
window.bimViewer.sectionTool.sectionDirection = 0, window.bimViewer.sectionTool.setControlPos(100 - c.value.x);
|
|
81
|
-
break;
|
|
82
|
-
case "y":
|
|
83
|
-
window.bimViewer.sectionTool.sectionDirection = 1, window.bimViewer.sectionTool.setControlPos(c.value.y);
|
|
84
|
-
break;
|
|
85
|
-
case "z":
|
|
86
|
-
window.bimViewer.sectionTool.sectionDirection = 2, window.bimViewer.sectionTool.setControlPos(100 - c.value.z);
|
|
87
|
-
break;
|
|
88
|
-
}
|
|
89
|
-
}, X = () => {
|
|
90
|
-
switch (h.value.direction) {
|
|
91
|
-
case "x":
|
|
92
|
-
c.value.x = 100 - window.bimViewer.sectionTool.getControlPos();
|
|
93
|
-
break;
|
|
94
|
-
case "y":
|
|
95
|
-
c.value.y = window.bimViewer.sectionTool.getControlPos();
|
|
96
|
-
break;
|
|
97
|
-
case "z":
|
|
98
|
-
c.value.z = 100 - window.bimViewer.sectionTool.getControlPos();
|
|
99
|
-
break;
|
|
100
|
-
}
|
|
101
|
-
}, Y = (e) => _("section.sectionPrefix") + (Number(e) + 1), R = () => {
|
|
102
|
-
a.setActive(!1), J("closePanel"), B.emit("hideToolbar", !1);
|
|
103
|
-
}, Z = (e) => {
|
|
104
|
-
f.value !== e.id && (f.value = e.id, w.value = !1, y(), P(e.id));
|
|
105
|
-
}, ee = (e) => {
|
|
106
|
-
y(), e.isLook = !e.isLook, e.isLook ? (e.isLook = !0, ne(e.id)) : ie(e.id), P(f.value);
|
|
107
|
-
}, P = (e) => {
|
|
108
|
-
a.showSectionPlane(e);
|
|
109
|
-
}, H = (e) => {
|
|
110
|
-
if (r.value)
|
|
111
|
-
for (let t = 0; t < r.value.length; t++)
|
|
112
|
-
r.value[t].isLook = e;
|
|
113
|
-
}, oe = (e, t) => {
|
|
114
|
-
for (let p = 0; p < r.value.length; p++)
|
|
115
|
-
e == r.value[p].id && (r.value[p].isLook = t);
|
|
116
|
-
}, j = (e) => {
|
|
117
|
-
e.directionLeft = !e.directionLeft, ae(e.id);
|
|
118
|
-
}, te = (e) => {
|
|
119
|
-
a.destroySectionPlane(e), r.value = r.value.filter((t) => t.id !== e);
|
|
120
|
-
}, ne = (e) => {
|
|
121
|
-
a.setSectionEnable(e);
|
|
122
|
-
}, ie = (e) => {
|
|
123
|
-
a.setSectionDisable(e);
|
|
124
|
-
}, se = () => {
|
|
125
|
-
H(!0), a.enableSections(), a.showControl(), w.value = !0;
|
|
126
|
-
}, le = () => {
|
|
127
|
-
H(!1), a.disableSections(), w.value = !1, f.value = "";
|
|
128
|
-
}, ce = (e) => {
|
|
129
|
-
e.id === 0 ? (de(), r.value = []) : e.id === 1 ? ue() : e.id === 2 ? se() : e.id === 4 && (le(), y());
|
|
130
|
-
}, ae = (e) => {
|
|
131
|
-
a.flipSection(e);
|
|
132
|
-
}, re = () => a.getSectionPlanes(), de = () => {
|
|
133
|
-
a.clear();
|
|
134
|
-
}, ue = () => {
|
|
135
|
-
a.flipSections();
|
|
136
|
-
}, y = () => {
|
|
137
|
-
a.hideControl();
|
|
138
|
-
};
|
|
139
|
-
return (e, t) => {
|
|
140
|
-
const p = ke, _e = Se, ve = we, T = ye, me = pe;
|
|
141
|
-
return s(), l(z, null, [
|
|
142
|
-
i(C)("isMobile") ? (s(), l("div", qe, [
|
|
143
|
-
o("div", Je, [
|
|
144
|
-
o("div", Xe, u(i(_)("toolbar.section")), 1),
|
|
145
|
-
o("div", Ye, [
|
|
146
|
-
m(ve, {
|
|
147
|
-
width: 0.4,
|
|
148
|
-
"size-type": "rem",
|
|
149
|
-
"click-handle": R
|
|
150
|
-
})
|
|
151
|
-
])
|
|
152
|
-
]),
|
|
153
|
-
o("div", Ze, [
|
|
154
|
-
m(p, null, {
|
|
155
|
-
default: E(() => [
|
|
156
|
-
o("div", eo, [
|
|
157
|
-
o("div", oo, [
|
|
158
|
-
o("div", to, [
|
|
159
|
-
h.value.direction === "x" ? (s(), l("img", {
|
|
160
|
-
key: 0,
|
|
161
|
-
src: i(d) + "/bim-viewer/section_look_icon.png",
|
|
162
|
-
alt: "",
|
|
163
|
-
onClick: t[1] || (t[1] = (n) => k("x"))
|
|
164
|
-
}, null, 8, no)) : (s(), l("img", {
|
|
165
|
-
key: 1,
|
|
166
|
-
src: i(d) + "/bim-viewer/section_unlook_icon.png",
|
|
167
|
-
alt: "",
|
|
168
|
-
onClick: t[2] || (t[2] = (n) => k("x"))
|
|
169
|
-
}, null, 8, io))
|
|
170
|
-
]),
|
|
171
|
-
o("div", so, [
|
|
172
|
-
o("div", lo, [
|
|
173
|
-
o("div", null, u(i(_)("section.xAxis")), 1),
|
|
174
|
-
o("div", null, u(c.value.x) + " %", 1)
|
|
175
|
-
]),
|
|
176
|
-
o("div", co, [
|
|
177
|
-
m(T, {
|
|
178
|
-
modelValue: c.value.x,
|
|
179
|
-
"onUpdate:modelValue": t[3] || (t[3] = (n) => c.value.x = n),
|
|
180
|
-
size: "large",
|
|
181
|
-
"show-tooltip": !1,
|
|
182
|
-
onInput: t[4] || (t[4] = (n) => g("x"))
|
|
183
|
-
}, null, 8, ["modelValue"])
|
|
184
|
-
])
|
|
185
|
-
])
|
|
186
|
-
]),
|
|
187
|
-
o("div", ao, [
|
|
188
|
-
o("div", ro, [
|
|
189
|
-
h.value.direction === "y" ? (s(), l("img", {
|
|
190
|
-
key: 0,
|
|
191
|
-
src: i(d) + "/bim-viewer/section_look_icon.png",
|
|
192
|
-
alt: "",
|
|
193
|
-
onClick: t[5] || (t[5] = (n) => k("y"))
|
|
194
|
-
}, null, 8, uo)) : (s(), l("img", {
|
|
195
|
-
key: 1,
|
|
196
|
-
src: i(d) + "/bim-viewer/section_unlook_icon.png",
|
|
197
|
-
alt: "",
|
|
198
|
-
onClick: t[6] || (t[6] = (n) => k("y"))
|
|
199
|
-
}, null, 8, _o))
|
|
200
|
-
]),
|
|
201
|
-
o("div", vo, [
|
|
202
|
-
o("div", mo, [
|
|
203
|
-
o("div", null, u(i(_)("section.yAxis")), 1),
|
|
204
|
-
o("div", null, u(c.value.y) + " %", 1)
|
|
205
|
-
]),
|
|
206
|
-
o("div", po, [
|
|
207
|
-
m(T, {
|
|
208
|
-
modelValue: c.value.y,
|
|
209
|
-
"onUpdate:modelValue": t[7] || (t[7] = (n) => c.value.y = n),
|
|
210
|
-
size: "large",
|
|
211
|
-
"show-tooltip": !1,
|
|
212
|
-
onInput: t[8] || (t[8] = (n) => g("y"))
|
|
213
|
-
}, null, 8, ["modelValue"])
|
|
214
|
-
])
|
|
215
|
-
])
|
|
216
|
-
]),
|
|
217
|
-
o("div", fo, [
|
|
218
|
-
o("div", ho, [
|
|
219
|
-
h.value.direction === "z" ? (s(), l("img", {
|
|
220
|
-
key: 0,
|
|
221
|
-
src: i(d) + "/bim-viewer/section_look_icon.png",
|
|
222
|
-
alt: "",
|
|
223
|
-
onClick: t[9] || (t[9] = (n) => k("z"))
|
|
224
|
-
}, null, 8, ko)) : (s(), l("img", {
|
|
225
|
-
key: 1,
|
|
226
|
-
src: i(d) + "/bim-viewer/section_unlook_icon.png",
|
|
227
|
-
alt: "",
|
|
228
|
-
onClick: t[10] || (t[10] = (n) => k("z"))
|
|
229
|
-
}, null, 8, go))
|
|
230
|
-
]),
|
|
231
|
-
o("div", wo, [
|
|
232
|
-
o("div", bo, [
|
|
233
|
-
o("div", null, u(i(_)("section.zAxis")), 1),
|
|
234
|
-
o("div", null, u(c.value.z) + " %", 1)
|
|
235
|
-
]),
|
|
236
|
-
o("div", yo, [
|
|
237
|
-
m(T, {
|
|
238
|
-
modelValue: c.value.z,
|
|
239
|
-
"onUpdate:modelValue": t[11] || (t[11] = (n) => c.value.z = n),
|
|
240
|
-
size: "large",
|
|
241
|
-
"show-tooltip": !1,
|
|
242
|
-
onInput: t[12] || (t[12] = (n) => g("z"))
|
|
243
|
-
}, null, 8, ["modelValue"])
|
|
244
|
-
])
|
|
245
|
-
])
|
|
246
|
-
])
|
|
247
|
-
])
|
|
248
|
-
]),
|
|
249
|
-
_: 1
|
|
250
|
-
})
|
|
251
|
-
])
|
|
252
|
-
])) : (s(), Te(_e, {
|
|
253
|
-
key: 0,
|
|
254
|
-
class: "section_panel",
|
|
255
|
-
width: V.value,
|
|
256
|
-
panelTitle: i(_)("toolbar.section"),
|
|
257
|
-
"click-handle": R
|
|
258
|
-
}, {
|
|
259
|
-
default: E(() => [
|
|
260
|
-
o("div", Ee, [
|
|
261
|
-
o("div", Ie, u(i(_)("section.allSections")), 1),
|
|
262
|
-
o("div", Ae, [
|
|
263
|
-
o("img", {
|
|
264
|
-
id: "controlOperatePanel",
|
|
265
|
-
src: i(d) + "/bim-viewer/slicing-more.png",
|
|
266
|
-
onClick: t[0] || (t[0] = (n) => M(!b.value))
|
|
267
|
-
}, null, 8, De),
|
|
268
|
-
G(o("div", Oe, [
|
|
269
|
-
(s(!0), l(z, null, K(i(ze), (n) => (s(), l("div", {
|
|
270
|
-
key: n.id,
|
|
271
|
-
class: "operation_button",
|
|
272
|
-
onClick: (L) => ce(n)
|
|
273
|
-
}, [
|
|
274
|
-
o("span", null, u(i(_)(n.name)), 1)
|
|
275
|
-
], 8, Me))), 128))
|
|
276
|
-
], 512), [
|
|
277
|
-
[Q, b.value]
|
|
278
|
-
])
|
|
279
|
-
])
|
|
280
|
-
]),
|
|
281
|
-
o("div", Ue, [
|
|
282
|
-
m(p, { height: "360px" }, {
|
|
283
|
-
default: E(() => [
|
|
284
|
-
r.value && r.value.length ? (s(), l("div", Ne, [
|
|
285
|
-
(s(!0), l(z, null, K(r.value, (n, L) => (s(), l("div", {
|
|
286
|
-
key: L,
|
|
287
|
-
class: Le(["panel_cont_item", { panel_cont_item_choose: f.value === n.id || w.value }]),
|
|
288
|
-
onClick: (S) => Z(n)
|
|
289
|
-
}, [
|
|
290
|
-
o("div", He, [
|
|
291
|
-
o("img", {
|
|
292
|
-
src: `${i(d)}/bim-viewer/${n.isLook ? "section_look_icon.png" : "section_unlook_icon.png"}`,
|
|
293
|
-
alt: "",
|
|
294
|
-
onClick: Be((S) => ee(n), ["stop"])
|
|
295
|
-
}, null, 8, je),
|
|
296
|
-
$e(" " + u(Y(L)), 1)
|
|
297
|
-
]),
|
|
298
|
-
o("div", Fe, [
|
|
299
|
-
n.directionLeft ? (s(), l("img", {
|
|
300
|
-
key: 0,
|
|
301
|
-
src: i(d) + "/bim-viewer/left_section_icon.png",
|
|
302
|
-
alt: "",
|
|
303
|
-
onClick: (S) => j(n)
|
|
304
|
-
}, null, 8, Ge)) : (s(), l("img", {
|
|
305
|
-
key: 1,
|
|
306
|
-
src: i(d) + "/bim-viewer/right_section_icon.png",
|
|
307
|
-
alt: "",
|
|
308
|
-
onClick: (S) => j(n)
|
|
309
|
-
}, null, 8, Ke)),
|
|
310
|
-
o("img", {
|
|
311
|
-
src: i(d) + "/bim-viewer/section_del_icon.png",
|
|
312
|
-
alt: "",
|
|
313
|
-
onClick: (S) => te(n.id)
|
|
314
|
-
}, null, 8, Qe)
|
|
315
|
-
])
|
|
316
|
-
], 10, Re))), 128))
|
|
317
|
-
])) : (s(), l("div", We, [
|
|
318
|
-
m(ge, {
|
|
319
|
-
title: i(_)("common.noData"),
|
|
320
|
-
type: "model"
|
|
321
|
-
}, null, 8, ["title"])
|
|
322
|
-
]))
|
|
323
|
-
]),
|
|
324
|
-
_: 1
|
|
325
|
-
})
|
|
326
|
-
])
|
|
327
|
-
]),
|
|
328
|
-
_: 1
|
|
329
|
-
}, 8, ["width", "panelTitle"])),
|
|
330
|
-
G(m(me, {
|
|
331
|
-
"click-handle": () => {
|
|
332
|
-
O.value = !1;
|
|
333
|
-
}
|
|
334
|
-
}, null, 8, ["click-handle"]), [
|
|
335
|
-
[Q, O.value && !i(C)("isMobile")]
|
|
336
|
-
])
|
|
337
|
-
], 64);
|
|
338
|
-
};
|
|
339
|
-
}
|
|
340
|
-
}), Bo = /* @__PURE__ */ be(So, [["__scopeId", "data-v-6e94f3af"]]);
|
|
341
|
-
export {
|
|
342
|
-
Bo as default
|
|
343
|
-
};
|