@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,7 +1,7 @@
|
|
|
1
|
-
import { A as c, O as _, H as l, I as a } from "./index-
|
|
2
|
-
import { defineComponent as i,
|
|
1
|
+
import { A as c, O as _, H as l, I as a } from "./index-CwRGVhoT.mjs";
|
|
2
|
+
import { defineComponent as i, openBlock as r, createElementBlock as d, createElementVNode as e, unref as t, toDisplayString as p, createVNode as m } from "vue";
|
|
3
3
|
const u = { class: "alert_wrapper" }, h = { class: "alert_box_wrapper" }, f = { class: "alert_box" }, g = { class: "alert_img" }, v = ["src"], k = { class: "alert_title" }, w = { class: "alert_close" }, x = /* @__PURE__ */ i({
|
|
4
|
-
__name: "
|
|
4
|
+
__name: "Alert",
|
|
5
5
|
props: {
|
|
6
6
|
panelTitle: {
|
|
7
7
|
type: String,
|
|
@@ -21,7 +21,7 @@ const u = { class: "alert_wrapper" }, h = { class: "alert_box_wrapper" }, f = {
|
|
|
21
21
|
const s = c();
|
|
22
22
|
return (b, y) => {
|
|
23
23
|
const o = l;
|
|
24
|
-
return
|
|
24
|
+
return r(), d("div", u, [
|
|
25
25
|
e("div", h, [
|
|
26
26
|
e("div", f, [
|
|
27
27
|
e("div", g, [
|
|
@@ -41,7 +41,7 @@ const u = { class: "alert_wrapper" }, h = { class: "alert_box_wrapper" }, f = {
|
|
|
41
41
|
]);
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
}), H = /* @__PURE__ */ a(x, [["__scopeId", "data-v-
|
|
44
|
+
}), H = /* @__PURE__ */ a(x, [["__scopeId", "data-v-745a5d6a"]]);
|
|
45
45
|
export {
|
|
46
46
|
H as _
|
|
47
47
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { _ as F } from "./
|
|
2
|
-
import { defineComponent as Y, ref as
|
|
3
|
-
import { A as on, B as tn, C as a, D as
|
|
4
|
-
import { A as f } from "./
|
|
5
|
-
const rn = { class: "annotation_component" },
|
|
1
|
+
import { _ as F } from "./Alert-CSiEPFGt.mjs";
|
|
2
|
+
import { defineComponent as Y, ref as V, watch as G, onMounted as J, onBeforeUnmount as K, openBlock as l, createElementBlock as d, unref as i, createCommentVNode as y, createElementVNode as u, normalizeClass as B, Fragment as S, renderList as N, toDisplayString as Q, withDirectives as Z, createVNode as nn, vShow as en } from "vue";
|
|
3
|
+
import { A as on, B as tn, C as a, D as E, O as _, I as an } from "./index-CwRGVhoT.mjs";
|
|
4
|
+
import { A as f } from "./bimTools-D3TraX9d.mjs";
|
|
5
|
+
const rn = { class: "annotation_component" }, cn = {
|
|
6
6
|
key: 0,
|
|
7
7
|
id: "annotation_toolbar",
|
|
8
8
|
class: "annotation_toolbar"
|
|
9
|
-
},
|
|
9
|
+
}, sn = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "toolbar_trangle"
|
|
12
|
-
},
|
|
12
|
+
}, ln = { class: "annotation_toolbar_group" }, dn = ["id", "disabled", "onClick"], mn = ["src"], un = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "toolbar_trangle"
|
|
15
15
|
}, _n = {
|
|
@@ -20,95 +20,95 @@ const rn = { class: "annotation_component" }, ln = {
|
|
|
20
20
|
props: ["componentId"],
|
|
21
21
|
emits: ["uploadImage", "clickAnnotation", "emitHandler"],
|
|
22
22
|
setup(M, { emit: j }) {
|
|
23
|
-
const O = on(),
|
|
24
|
-
let
|
|
23
|
+
const O = on(), C = tn(), I = M, D = j, x = V(!0), m = V(""), W = V();
|
|
24
|
+
let s, $, v = !1, p = null, w = null;
|
|
25
25
|
const X = {
|
|
26
26
|
image: `${_}/BIMX_Website/main/mainView/function_icon/annotation_icons/image_active.png`,
|
|
27
27
|
file: `${_}/BIMX_Website/main/mainView/function_icon/annotation_icons/file_active.png`,
|
|
28
28
|
record: `${_}/BIMX_Website/main/mainView/function_icon/annotation_icons/record_active.png`,
|
|
29
29
|
text: `${_}/BIMX_Website/main/mainView/function_icon/annotation_icons/text_active.png`,
|
|
30
30
|
video: `${_}/BIMX_Website/main/mainView/function_icon/annotation_icons/video_active.png`
|
|
31
|
-
},
|
|
31
|
+
}, h = (n) => {
|
|
32
32
|
D("emitHandler", n);
|
|
33
33
|
};
|
|
34
34
|
G(
|
|
35
|
-
() =>
|
|
35
|
+
() => C.isToolActive(I.componentId),
|
|
36
36
|
(n) => {
|
|
37
37
|
var o, t;
|
|
38
38
|
if (n)
|
|
39
39
|
!v && ((t = window.bimViewer) != null && t.annotationTool) && g();
|
|
40
|
-
else if (
|
|
40
|
+
else if (m.value = "", (o = window.bimViewer) != null && o.annotationTool && typeof window.bimViewer.annotationTool.setEnabled == "function")
|
|
41
41
|
try {
|
|
42
42
|
window.bimViewer.annotationTool.setEnabled(!1);
|
|
43
43
|
} catch (e) {
|
|
44
|
-
console.warn("[
|
|
44
|
+
console.warn("[Bimx Engine] setEnabled(false) on close failed:", e);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
), J(() => {
|
|
48
48
|
var n;
|
|
49
|
-
W.value = a("annoLimit"),
|
|
49
|
+
W.value = a("annoLimit"), C.setReadyById(I.componentId), !v && ((n = window.bimViewer) != null && n.annotationTool) && g();
|
|
50
50
|
}), K(() => {
|
|
51
|
-
if (
|
|
51
|
+
if (E.off("BimViewer", g), E.off("setAnnoStatus", P), p && w) {
|
|
52
52
|
try {
|
|
53
53
|
p.removeEventListener("click", w);
|
|
54
54
|
} catch (n) {
|
|
55
|
-
console.warn("[
|
|
55
|
+
console.warn("[Bimx Engine] remove canvas click listener failed:", n);
|
|
56
56
|
}
|
|
57
57
|
p = null, w = null;
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
|
-
function
|
|
60
|
+
function A(n) {
|
|
61
61
|
var o;
|
|
62
|
-
a("editPrivilege") != 1 && (!v && ((o = window.bimViewer) != null && o.annotationTool) && g(),
|
|
62
|
+
a("editPrivilege") != 1 && (!v && ((o = window.bimViewer) != null && o.annotationTool) && g(), m.value === n.code ? (m.value = "", L(n, !1)) : (m.value = n.code, L(n, !0)));
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function P(n) {
|
|
65
65
|
const o = U(n.type);
|
|
66
|
-
o &&
|
|
66
|
+
o && A(o);
|
|
67
67
|
}
|
|
68
68
|
function g() {
|
|
69
69
|
if (!window.bimViewer || !window.bimViewer.annotationTool || !window.bimViewer.eventTrigger) {
|
|
70
|
-
console.warn("[
|
|
70
|
+
console.warn("[Bimx Engine] bindEngineIntegration skipped: bimViewer/annotationTool/eventTrigger missing.");
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
73
|
if (v) return;
|
|
74
|
-
|
|
74
|
+
s = window.bimViewer.annotationTool, $ = window.bimViewer.eventTrigger;
|
|
75
75
|
try {
|
|
76
|
-
|
|
76
|
+
s.setTypeImage(X);
|
|
77
77
|
} catch (e) {
|
|
78
|
-
console.warn("[
|
|
78
|
+
console.warn("[Bimx Engine] setTypeImage failed:", e);
|
|
79
79
|
}
|
|
80
80
|
const n = (e, r) => {
|
|
81
81
|
const b = [
|
|
82
|
-
{ label: "annotationTool", obj:
|
|
83
|
-
{ label: "annotationTool.eventTrigger", obj:
|
|
84
|
-
{ label: "bimViewer.eventTrigger", obj:
|
|
82
|
+
{ label: "annotationTool", obj: s },
|
|
83
|
+
{ label: "annotationTool.eventTrigger", obj: s == null ? void 0 : s.eventTrigger },
|
|
84
|
+
{ label: "bimViewer.eventTrigger", obj: $ }
|
|
85
85
|
];
|
|
86
86
|
let T = 0;
|
|
87
|
-
for (const
|
|
88
|
-
if (
|
|
87
|
+
for (const c of b)
|
|
88
|
+
if (c.obj && typeof c.obj.on == "function")
|
|
89
89
|
try {
|
|
90
|
-
|
|
91
|
-
} catch (
|
|
92
|
-
console.warn(`[
|
|
90
|
+
c.obj.on(e, r), T++;
|
|
91
|
+
} catch (k) {
|
|
92
|
+
console.warn(`[Bimx Engine] bind '${e}' on ${c.label} failed:`, k);
|
|
93
93
|
}
|
|
94
|
-
T === 0 && console.error(`[
|
|
94
|
+
T === 0 && console.error(`[Bimx Engine] no emitter accepted '${e}' subscription!`);
|
|
95
95
|
}, o = /* @__PURE__ */ new WeakSet(), t = (e) => !e || typeof e != "object" ? !1 : o.has(e) ? !0 : (o.add(e), !1);
|
|
96
96
|
n("createAnnotation", (e) => {
|
|
97
|
-
t(e) ||
|
|
97
|
+
t(e) || h({
|
|
98
98
|
isTool: !0,
|
|
99
99
|
event_target: "AnnotationTool",
|
|
100
100
|
event_name: "createAnnotation",
|
|
101
101
|
content: { currentAnnotation: e }
|
|
102
102
|
});
|
|
103
103
|
}), n("markerClicked", (e) => {
|
|
104
|
-
t(e) ||
|
|
104
|
+
t(e) || h({
|
|
105
105
|
isTool: !0,
|
|
106
106
|
event_target: "AnnotationTool",
|
|
107
107
|
event_name: "clickAnnotation",
|
|
108
108
|
content: { targetAnno: e }
|
|
109
109
|
});
|
|
110
110
|
}), a("isMobile") || n("requestDeleteMarker", (e) => {
|
|
111
|
-
|
|
111
|
+
h({
|
|
112
112
|
isTool: !0,
|
|
113
113
|
event_target: "AnnotationTool",
|
|
114
114
|
event_name: "requestDelAnno",
|
|
@@ -119,8 +119,8 @@ const rn = { class: "annotation_component" }, ln = {
|
|
|
119
119
|
});
|
|
120
120
|
}), v = !0, R();
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
q(o), H(n.code, o),
|
|
122
|
+
function L(n, o) {
|
|
123
|
+
q(o), H(n.code, o), h({
|
|
124
124
|
isTool: !0,
|
|
125
125
|
event_target: "AnnotationTool",
|
|
126
126
|
event_name: "clickAnnoTool",
|
|
@@ -139,7 +139,7 @@ const rn = { class: "annotation_component" }, ln = {
|
|
|
139
139
|
try {
|
|
140
140
|
window.bimViewer.annotationTool.setCurrentType(n);
|
|
141
141
|
} catch (r) {
|
|
142
|
-
console.error("[
|
|
142
|
+
console.error("[Bimx Engine] setCurrentType failed:", r);
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
}
|
|
@@ -149,27 +149,27 @@ const rn = { class: "annotation_component" }, ln = {
|
|
|
149
149
|
try {
|
|
150
150
|
window.bimViewer.annotationTool.setEnabled(n);
|
|
151
151
|
} catch (t) {
|
|
152
|
-
console.error("[
|
|
152
|
+
console.error("[Bimx Engine] setEnabled error:", t);
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
function R() {
|
|
156
156
|
var n, o, t, e, r, b, T;
|
|
157
157
|
try {
|
|
158
|
-
const
|
|
159
|
-
if (!
|
|
160
|
-
console.warn("[
|
|
158
|
+
const c = ((e = (t = (o = (n = window.bimViewer) == null ? void 0 : n.viewer) == null ? void 0 : o.scene) == null ? void 0 : t.canvas) == null ? void 0 : e.canvas) || ((T = (b = (r = window.bimViewer) == null ? void 0 : r.scene) == null ? void 0 : b.canvas) == null ? void 0 : T.canvas);
|
|
159
|
+
if (!c || typeof c.addEventListener != "function") {
|
|
160
|
+
console.warn("[Bimx Engine] cannot locate xeokit canvas element to attach click listener.");
|
|
161
161
|
return;
|
|
162
162
|
}
|
|
163
|
-
p =
|
|
164
|
-
if (!(!
|
|
163
|
+
p = c, w = (k) => {
|
|
164
|
+
if (!(!s || typeof s.clickToCreateAnno != "function"))
|
|
165
165
|
try {
|
|
166
|
-
|
|
166
|
+
s.clickToCreateAnno(k);
|
|
167
167
|
} catch (z) {
|
|
168
|
-
console.error("[
|
|
168
|
+
console.error("[Bimx Engine] clickToCreateAnno(event) error:", z);
|
|
169
169
|
}
|
|
170
|
-
},
|
|
171
|
-
} catch (
|
|
172
|
-
console.warn("[
|
|
170
|
+
}, c.addEventListener("click", w);
|
|
171
|
+
} catch (c) {
|
|
172
|
+
console.warn("[Bimx Engine] attach canvas click listener failed:", c);
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
function U(n) {
|
|
@@ -179,61 +179,61 @@ const rn = { class: "annotation_component" }, ln = {
|
|
|
179
179
|
if (n === "file") return f[3];
|
|
180
180
|
if (n === "text") return f[4];
|
|
181
181
|
}
|
|
182
|
-
return
|
|
182
|
+
return E.on("BimViewer", g), E.on("setAnnoStatus", P), (n, o) => {
|
|
183
183
|
const t = F;
|
|
184
|
-
return
|
|
185
|
-
i(a)("isMobile") ? (
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
(
|
|
184
|
+
return l(), d("div", rn, [
|
|
185
|
+
i(a)("isMobile") ? (l(), d("div", _n, [
|
|
186
|
+
u("div", fn, [
|
|
187
|
+
u("div", bn, [
|
|
188
|
+
(l(!0), d(S, null, N(i(f), (e, r) => (l(), d("div", {
|
|
189
189
|
key: r,
|
|
190
|
-
class:
|
|
191
|
-
onClick: (b) =>
|
|
190
|
+
class: B(["label-item", { "label-item-active": m.value === e.code && i(a)("editPrivilege") == 0, noPermission: i(a)("editPrivilege") == 1 }]),
|
|
191
|
+
onClick: (b) => A(e)
|
|
192
192
|
}, [
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
u("div", wn, [
|
|
194
|
+
u("img", {
|
|
195
195
|
class: "label-item-img",
|
|
196
|
-
src: i(_) + `/bim-viewer/annotation/new-icons/bimkk-mobile-anno-${
|
|
196
|
+
src: i(_) + `/bim-viewer/annotation/new-icons/bimkk-mobile-anno-${m.value === e.code && i(a)("editPrivilege") == 0 ? e.imgActive : e.img}.svg`,
|
|
197
197
|
alt: ""
|
|
198
198
|
}, null, 8, gn),
|
|
199
|
-
|
|
199
|
+
u("div", Tn, Q(i(O)(e.name)), 1)
|
|
200
200
|
])
|
|
201
201
|
], 10, vn))), 128))
|
|
202
202
|
])
|
|
203
203
|
])
|
|
204
|
-
])) : (
|
|
205
|
-
i(a)("annotationPos").pos.includes("top") ? (
|
|
206
|
-
|
|
207
|
-
class:
|
|
204
|
+
])) : (l(), d("div", cn, [
|
|
205
|
+
i(a)("annotationPos").pos.includes("top") ? (l(), d("div", sn)) : y("", !0),
|
|
206
|
+
u("div", {
|
|
207
|
+
class: B(["annotation_toolbar_wrapper", { annotation_toolbar_wrapper_disable: i(a)("editPrivilege") == 1 }])
|
|
208
208
|
}, [
|
|
209
|
-
|
|
210
|
-
(
|
|
209
|
+
u("div", ln, [
|
|
210
|
+
(l(!0), d(S, null, N(i(f), (e, r) => (l(), d("button", {
|
|
211
211
|
id: `annotation_tool_btn_${r}`,
|
|
212
212
|
key: r,
|
|
213
|
-
class:
|
|
213
|
+
class: B(["annotation_tool_btn", { active: m.value === e.code }]),
|
|
214
214
|
disabled: i(a)("editPrivilege") == 1,
|
|
215
|
-
onClick: (b) =>
|
|
215
|
+
onClick: (b) => A(e)
|
|
216
216
|
}, [
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
src: `${i(_)}/bim-viewer/action-bars/panno-${
|
|
220
|
-
}, null, 8,
|
|
217
|
+
y("", !0),
|
|
218
|
+
u("img", {
|
|
219
|
+
src: `${i(_)}/bim-viewer/action-bars/panno-${m.value !== e.code ? e.img : e.imgActive}.svg`
|
|
220
|
+
}, null, 8, mn)
|
|
221
221
|
], 10, dn))), 128))
|
|
222
222
|
])
|
|
223
223
|
], 2),
|
|
224
|
-
i(a)("annotationPos").pos.includes("bottom") ? (
|
|
224
|
+
i(a)("annotationPos").pos.includes("bottom") ? (l(), d("div", un)) : y("", !0)
|
|
225
225
|
])),
|
|
226
|
-
|
|
226
|
+
Z(nn(t, {
|
|
227
227
|
"click-handle": () => {
|
|
228
|
-
|
|
228
|
+
x.value = !1;
|
|
229
229
|
}
|
|
230
230
|
}, null, 8, ["click-handle"]), [
|
|
231
|
-
[en,
|
|
231
|
+
[en, x.value && i(a)("editPrivilege") == 0]
|
|
232
232
|
])
|
|
233
233
|
]);
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
}),
|
|
236
|
+
}), Vn = /* @__PURE__ */ an(pn, [["__scopeId", "data-v-a8fb218b"]]);
|
|
237
237
|
export {
|
|
238
|
-
|
|
238
|
+
Vn as default
|
|
239
239
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { au as e, M as t, av as o, aw as i, V as l, ax as n, ay as I, az as r, aA as C, aB as f, aC as g, aD as u, aE as B, J as M } from "./index-CwRGVhoT.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BIMXViewer,
|
|
4
4
|
t as BIMX_CONFIGS,
|