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