@xtctwins/tctwins-bimx-engine 0.3.17 → 0.3.18
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/{AnnotationTool-CRKJP6Z_.mjs → AnnotationTool-CzQVFGZm.mjs} +2 -2
- package/dist/BIMX_Viewer_Lib.es.js +1 -1
- package/dist/BIMX_Viewer_Lib.umd.js +106 -106
- package/dist/{CameraViewTool-CcuETkRt.mjs → CameraViewTool-Cm7UrIEY.mjs} +2 -2
- package/dist/{CommentTool-CUfkCRZj.mjs → CommentTool-C7VErDw6.mjs} +2 -2
- package/dist/{HiddenTool-BXH5QJP-.mjs → HiddenTool-mH3cdTjy.mjs} +5 -5
- package/dist/{InspectorTool-DfNptjyX.mjs → InspectorTool-CG-QJKao.mjs} +3 -3
- package/dist/MeasureTool-DiF73s6L.mjs +595 -0
- package/dist/{MouseTool-B7uZ7aDB.mjs → MouseTool-DigCaD4c.mjs} +1 -1
- package/dist/{NavigateTool-iCDupABO.mjs → NavigateTool-C375lcY6.mjs} +1 -1
- package/dist/{OperateTool-CDFqwPpz.mjs → OperateTool-D5HFrut6.mjs} +1 -1
- package/dist/{RoamTool-DbejO6To.mjs → RoamTool-DO-gP6oV.mjs} +14 -14
- package/dist/{ScreenShotTool-CwKNoZDh.mjs → ScreenShotTool-B5ICa8PZ.mjs} +2 -2
- package/dist/{SectionTool-B_YUSKAb.mjs → SectionTool-CjX3ikon.mjs} +3 -3
- package/dist/{SettingTool-ByLSLYye.mjs → SettingTool-D2EQy3h8.mjs} +3 -3
- package/dist/{StructureTree-JKDte9U1.mjs → StructureTree-QhQyMrZn.mjs} +3 -3
- package/dist/{alert-C1hZjT4K.mjs → alert-COkF0N8w.mjs} +4 -4
- package/dist/{index-Amk7_oxr.mjs → index-fIchFHNn.mjs} +19089 -18905
- package/dist/{panel.vue_vue_type_style_index_0_lang-BWMqOWVZ.mjs → panel.vue_vue_type_style_index_0_lang-BtSx7l8h.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tallPanel-B_CsTLWm.mjs → tallPanel-BMplV9f0.mjs} +8 -8
- package/package.json +2 -2
- package/dist/MeasureTool-CXJj1Fhb.mjs +0 -593
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as X, H as Y, I as x, W as z, P as y, M as A } from "./index-
|
|
1
|
+
import { G as X, H as Y, I as x, W as z, P as y, M as A } from "./index-fIchFHNn.mjs";
|
|
2
2
|
import { defineComponent as G, ref as l, watch as k, onMounted as O, onBeforeUnmount as j, openBlock as u, createElementBlock as g, normalizeClass as T, createElementVNode as t, createBlock as q, withCtx as F, unref as B, withDirectives as I, vModelText as N, createCommentVNode as J } from "vue";
|
|
3
3
|
const K = { class: "cameraView_tool_btn" }, Q = ["src"], Z = {
|
|
4
4
|
key: 1,
|
|
@@ -158,7 +158,7 @@ const K = { class: "cameraView_tool_btn" }, Q = ["src"], Z = {
|
|
|
158
158
|
], 2);
|
|
159
159
|
};
|
|
160
160
|
}
|
|
161
|
-
}), ue = /* @__PURE__ */ A(ce, [["__scopeId", "data-v-
|
|
161
|
+
}), ue = /* @__PURE__ */ A(ce, [["__scopeId", "data-v-8142df3b"]]);
|
|
162
162
|
export {
|
|
163
163
|
ue as default
|
|
164
164
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ne, ref as o, openBlock as n, createElementBlock as c, createElementVNode as e, unref as s, toDisplayString as a, withModifiers as Z, Fragment as G, renderList as q, createCommentVNode as A, createVNode as V, withCtx as ce, toRefs as Be, onMounted as me, watch as re, normalizeStyle as ee, createTextVNode as de, createBlock as oe, computed as ge, withDirectives as we, vShow as Ie, onBeforeUnmount as be, normalizeClass as ue } from "vue";
|
|
2
|
-
import { P, M as ie, a5 as ke, F as ae, K as pe, a6 as xe, a7 as Te, a8 as De, a9 as Se, aa as fe, ab as ve, ac as _e, H as j, J as Ce, ad as ye, a4 as Me, ae as ze, af as Ee, ag as Oe, Z as Re, $ as Ne, I as K, G as $e, ah as Le, ai as Fe, aj as Ue, ak as Ae } from "./index-
|
|
2
|
+
import { P, M as ie, a5 as ke, F as ae, K as pe, a6 as xe, a7 as Te, a8 as De, a9 as Se, aa as fe, ab as ve, ac as _e, H as j, J as Ce, ad as ye, a4 as Me, ae as ze, af as Ee, ag as Oe, Z as Re, $ as Ne, I as K, G as $e, ah as Le, ai as Fe, aj as Ue, ak as Ae } from "./index-fIchFHNn.mjs";
|
|
3
3
|
import { T as He } from "./timer-DoTiGoWP.mjs";
|
|
4
4
|
const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src"], Ze = { class: "text" }, Ge = /* @__PURE__ */ ne({
|
|
5
5
|
__name: "prompt",
|
|
@@ -1522,7 +1522,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
|
|
|
1522
1522
|
], 32);
|
|
1523
1523
|
};
|
|
1524
1524
|
}
|
|
1525
|
-
}), El = /* @__PURE__ */ ie(Pl, [["__scopeId", "data-v-
|
|
1525
|
+
}), El = /* @__PURE__ */ ie(Pl, [["__scopeId", "data-v-905be4d3"]]);
|
|
1526
1526
|
export {
|
|
1527
1527
|
El as default
|
|
1528
1528
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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, X as A, P as O, H as x, M as j } from "./index-
|
|
2
|
+
import { F as S, G as T, I as m, X as A, P as O, H as x, M as j } from "./index-fIchFHNn.mjs";
|
|
3
3
|
const D = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["onClick"], F = ["src"], N = /* @__PURE__ */ y({
|
|
4
4
|
__name: "HiddenTool",
|
|
5
5
|
props: ["componentId"],
|
|
@@ -21,12 +21,12 @@ const D = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["on
|
|
|
21
21
|
m.off("BimViewer", d);
|
|
22
22
|
});
|
|
23
23
|
const a = (e) => {
|
|
24
|
-
i.value != -1 && (i.value == 1 ? v(e) : i.value == 2 ?
|
|
24
|
+
i.value != -1 && (i.value == 1 ? v(e) : i.value == 2 ? h(e) : i.value == 3 && f(e));
|
|
25
25
|
}, v = (e) => {
|
|
26
26
|
window.bimViewer.setEntityVisible(e);
|
|
27
|
-
}, f = (e) => {
|
|
28
|
-
window.bimViewer.setEntityHighlighted(e);
|
|
29
27
|
}, h = (e) => {
|
|
28
|
+
window.bimViewer.setEntityHighlighted(e);
|
|
29
|
+
}, f = (e) => {
|
|
30
30
|
window.bimViewer.setEntitySelected(e);
|
|
31
31
|
}, p = () => {
|
|
32
32
|
window.bimViewer.setAllObjectsVisible(!0), window.bimViewer.setAllObjectsHighlighted(!1), window.bimViewer.setAllObjectsSelected(!1);
|
|
@@ -50,7 +50,7 @@ const D = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["on
|
|
|
50
50
|
])
|
|
51
51
|
]));
|
|
52
52
|
}
|
|
53
|
-
}), z = /* @__PURE__ */ j(N, [["__scopeId", "data-v-
|
|
53
|
+
}), z = /* @__PURE__ */ j(N, [["__scopeId", "data-v-8b4085d8"]]);
|
|
54
54
|
export {
|
|
55
55
|
z as default
|
|
56
56
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as ee, F as te, G as ne, I as D, H as v, T as N, K as oe, P as H, L as se, M as ie } from "./index-
|
|
2
|
-
import { _ as ae } from "./tallPanel-
|
|
3
|
-
import { _ as le } from "./panel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { O as ee, F as te, G as ne, I as D, H as v, T as N, K as oe, P as H, L as se, M as ie } from "./index-fIchFHNn.mjs";
|
|
2
|
+
import { _ as ae } from "./tallPanel-BMplV9f0.mjs";
|
|
3
|
+
import { _ as le } from "./panel.vue_vue_type_style_index_0_lang-BtSx7l8h.mjs";
|
|
4
4
|
import { defineComponent as ce, onMounted as re, ref as W, reactive as G, watch as _e, onBeforeUnmount as pe, openBlock as c, createElementBlock as r, Fragment as y, unref as n, createBlock as Q, withCtx as I, withDirectives as d, createElementVNode as e, createVNode as B, toDisplayString as t, vShow as m, renderList as f, createCommentVNode as O } from "vue";
|
|
5
5
|
const Z = {
|
|
6
6
|
ExtendToStructure: "扩建物",
|
|
@@ -0,0 +1,595 @@
|
|
|
1
|
+
import { _ as bt } from "./alert-COkF0N8w.mjs";
|
|
2
|
+
import { F as ft, G as yt, T as Fe, Y as j, I as Xe, H as h, W as ht, P as E, J as gt, Z as Mt, $ as kt, L as wt, a0 as q, M as Tt } from "./index-fIchFHNn.mjs";
|
|
3
|
+
import { _ as xt } from "./panel.vue_vue_type_style_index_0_lang-BtSx7l8h.mjs";
|
|
4
|
+
import { defineComponent as Dt, ref as u, onMounted as Ne, computed as pe, onBeforeUnmount as At, watch as St, nextTick as Pt, openBlock as r, createElementBlock as d, Fragment as S, unref as o, createBlock as We, withCtx as H, createElementVNode as l, renderList as L, normalizeClass as J, toDisplayString as v, normalizeStyle as be, createCommentVNode as ne, createVNode as p, withDirectives as je, vShow as qe } from "vue";
|
|
5
|
+
const Vt = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "measure_panel_content"
|
|
8
|
+
}, Ct = { class: "measurement_type" }, Bt = ["onClick"], Et = ["src"], Lt = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "measurement_img_empty"
|
|
11
|
+
}, It = { class: "measurement_data" }, Rt = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "datum_bar"
|
|
14
|
+
}, $t = { class: "footer" }, Ut = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "setMeasurePanel"
|
|
17
|
+
}, Ht = { class: "set_content_par" }, Ot = { class: "set_content_" }, zt = {
|
|
18
|
+
class: "set_content scale",
|
|
19
|
+
style: { display: "none" }
|
|
20
|
+
}, Yt = { class: "set_content unit" }, Ft = { class: "set_content precision" }, Xt = { class: "footer" }, Nt = {
|
|
21
|
+
key: 1,
|
|
22
|
+
class: "mobile_measure_panel"
|
|
23
|
+
}, Wt = { class: "mobile_panel_bar" }, jt = ["src"], qt = { class: "mouse_btn" }, Jt = ["src"], Zt = { class: "measure-list" }, Kt = ["onClick"], Qt = { class: "measure-icon" }, Gt = ["src"], el = { class: "measure-name" }, tl = { class: "measure-icon" }, ll = ["src"], sl = {
|
|
24
|
+
class: "measure-name",
|
|
25
|
+
style: { color: "#df1c1c" }
|
|
26
|
+
}, al = {
|
|
27
|
+
key: 2,
|
|
28
|
+
class: "mobile_set_dialog"
|
|
29
|
+
}, ol = { class: "mobile_set_close_btn" }, nl = { class: "mobile_set_title" }, il = { class: "mobile_set_row" }, ul = { class: "mobile_set_row" }, cl = {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: "mobile_set_datum"
|
|
32
|
+
}, rl = { class: "mobile_set_actions" }, dl = ["src"], vl = ["src"], Je = 5, Ze = 6, ml = /* @__PURE__ */ Dt({
|
|
33
|
+
__name: "MeasureTool",
|
|
34
|
+
props: ["componentId"],
|
|
35
|
+
emits: ["closePanel", "emitHandler"],
|
|
36
|
+
setup(Ke, { emit: Qe }) {
|
|
37
|
+
const i = ft(), I = yt(), Ge = Ke, ie = u(0);
|
|
38
|
+
Ne(() => {
|
|
39
|
+
I.setReadyById(Ge.componentId), Fe.currentTheme == "blue" ? ie.value = 224 : Fe.currentTheme == "light-gray" && (ie.value = 202);
|
|
40
|
+
});
|
|
41
|
+
let a, O, z, m;
|
|
42
|
+
const b = u(1), g = u(""), fe = u(), ue = u(), ye = u(), ce = u(), he = u(), Z = u(), K = u(), Q = u(), re = u(""), de = u(""), Y = u(1), k = u("m"), P = u(3), w = u(!1), ge = [{ value: "m" }, { value: "cm" }, { value: "mm" }], f = u(!1), Me = [
|
|
43
|
+
{ label: "0", value: 0 },
|
|
44
|
+
{ label: "0.0", value: 1 },
|
|
45
|
+
{ label: "0.00", value: 2 },
|
|
46
|
+
{ label: "0.000", value: 3 }
|
|
47
|
+
], et = {
|
|
48
|
+
pointDistance: [
|
|
49
|
+
{ label: "measure.distanceLabel", key: "text", color: "#0065fc" },
|
|
50
|
+
{ label: "measure.x", key: "dx", color: "#fe4444" },
|
|
51
|
+
{ label: "measure.y", key: "dy", color: "#4ed17a" },
|
|
52
|
+
{ label: "measure.z", key: "dz", color: "#ffce19" }
|
|
53
|
+
],
|
|
54
|
+
pointAngle: [
|
|
55
|
+
{ label: "measure.angleLabel", key: "text", color: "#0065fc" },
|
|
56
|
+
{ label: "measure.typeLabel", key: "type", color: "#7a8ba6" }
|
|
57
|
+
],
|
|
58
|
+
edgeLength: [
|
|
59
|
+
{ label: "measure.lengthLabel", key: "text", color: "#0065fc" },
|
|
60
|
+
{ label: "measure.typeLabel", key: "type", color: "#7a8ba6" }
|
|
61
|
+
],
|
|
62
|
+
edgeDistance: [
|
|
63
|
+
{ label: "measure.distanceLabel", key: "text", color: "#0065fc" },
|
|
64
|
+
{ label: "measure.typeLabel", key: "type", color: "#7a8ba6" }
|
|
65
|
+
],
|
|
66
|
+
edgeAngle: [
|
|
67
|
+
{ label: "measure.angleLabel", key: "text", color: "#0065fc" },
|
|
68
|
+
{ label: "measure.typeLabel", key: "type", color: "#7a8ba6" }
|
|
69
|
+
],
|
|
70
|
+
circleRadius: [
|
|
71
|
+
{ label: "measure.radiusLabel", key: "text", color: "#0065fc" },
|
|
72
|
+
{ label: "measure.typeLabel", key: "type", color: "#7a8ba6" }
|
|
73
|
+
],
|
|
74
|
+
elevation: [
|
|
75
|
+
{ label: "measure.elevationLabel", key: "text", color: "#0065fc" },
|
|
76
|
+
{ label: "measure.typeLabel", key: "type", color: "#7a8ba6" }
|
|
77
|
+
]
|
|
78
|
+
}, T = pe(() => {
|
|
79
|
+
var e;
|
|
80
|
+
return ((e = j.find((t) => t.id === b.value)) == null ? void 0 : e.code) || "pointDistance";
|
|
81
|
+
}), R = u(!0), M = u("");
|
|
82
|
+
let $ = null;
|
|
83
|
+
const G = (e) => {
|
|
84
|
+
M.value = e || "", R.value = !0, $ && clearTimeout($), $ = setTimeout(() => {
|
|
85
|
+
$ = null, M.value = "";
|
|
86
|
+
}, 4e3);
|
|
87
|
+
}, x = u(!1), tt = pe(
|
|
88
|
+
() => M.value || (x.value ? i("measure.hint_setDatumPick") : i(`measure.hint_${T.value}`))
|
|
89
|
+
), lt = () => {
|
|
90
|
+
R.value = !1;
|
|
91
|
+
}, st = pe(
|
|
92
|
+
() => (et[T.value] || []).map((e) => {
|
|
93
|
+
let t = "";
|
|
94
|
+
e.key === "text" ? t = re.value || "~" : e.key === "type" ? t = de.value || "-" : e.key === "dx" ? t = Z.value ?? "" : e.key === "dy" ? t = K.value ?? "" : e.key === "dz" && (t = Q.value ?? "");
|
|
95
|
+
const n = a && a.getModeColor ? a.getModeColor(T.value) : "", c = e.key === "text" && n ? n : e.color;
|
|
96
|
+
return { label: e.label, key: `${e.key}_${e.label}`, color: c, value: t };
|
|
97
|
+
})
|
|
98
|
+
), ke = Qe, we = (e) => {
|
|
99
|
+
ke("emitHandler", e);
|
|
100
|
+
}, Te = () => {
|
|
101
|
+
a = window.bimViewer.measureProTool, z = window.bimViewer.measureAngleTool, O = window.bimViewer.measureDistanceTool, m = window.bimViewer.eventTrigger, k.value = a.unit, Y.value = a.scale, m.on("measureUnitChanged", Be);
|
|
102
|
+
const e = j.find((t) => t.code === q.NormalizeMeasureMode(q.viewerState.measureType));
|
|
103
|
+
e && (b.value = e.id), q.SaveViewerState({ measure: T.value }), m.on("newDistanceMeasure", () => {
|
|
104
|
+
M.value = "", B(), h("isMobile") && (f.value = !1);
|
|
105
|
+
}), m.on("newAngleMeasure", () => {
|
|
106
|
+
M.value = "", B(), h("isMobile") && (f.value = !1);
|
|
107
|
+
}), m.on("proMeasureRejected", (t) => {
|
|
108
|
+
G(t && t.reasonText ? t.reasonText : "");
|
|
109
|
+
}), m.on("proMeasureDatumPicked", () => {
|
|
110
|
+
x.value = !1;
|
|
111
|
+
const t = g.value;
|
|
112
|
+
t && D(t), G(i("measure.setDatumDone"));
|
|
113
|
+
}), m.on("proMeasureDatumPickCancel", () => {
|
|
114
|
+
x.value = !1;
|
|
115
|
+
}), m.on("createAngleMeasure", (t) => {
|
|
116
|
+
he.value = t.id, ce.value = t.result, D(t.id), h("isMobile") && (f.value = !0), V("createAngleMeasure", { newMeasure: t });
|
|
117
|
+
}), m.on("createDistanceMeasure", (t) => {
|
|
118
|
+
fe.value = t.id, ye.value = t.id, ue.value = t.result, Z.value = t.xResult ? t.xResult : 0, K.value = t.yResult ? t.yResult : 0, Q.value = t.zResult ? t.zResult : 0, D(t.id), h("isMobile") && (f.value = !0), V("createAngleMeasure", { newMeasure: t });
|
|
119
|
+
}), m.on("clickDistanceMeasure", (t) => {
|
|
120
|
+
fe.value = t.id, ye.value = t.id, Pe(t.id), a.getModeByMeasurementId(t.id) || (ue.value = O.getMeasureResultByID(t.id)), D(t.id), h("isMobile") && (f.value = !0), V("clickDistanceMeasure", { id: t.id });
|
|
121
|
+
}), m.on("clickAngleMeasure", (t) => {
|
|
122
|
+
he.value = t.id, Pe(t.id), a.getModeByMeasurementId(t.id) || (ce.value = z.getMeasureResultByID(t.id)), D(t.id), h("isMobile") && (f.value = !0), V("clickAngleMeasure", { id: t.id });
|
|
123
|
+
}), m.on("DistanceMeasureDestroyed", (t) => Ve(t.id)), m.on("AngleMeasureDestroyed", (t) => Ve(t.id)), Ce(!1), Ee() && I.isToolActive(3) && me(!0);
|
|
124
|
+
};
|
|
125
|
+
Xe.on("BimViewer", Te), At(() => {
|
|
126
|
+
$ && clearTimeout($), m && m.off("measureUnitChanged", Be), ve(), Xe.off("BimViewer", Te);
|
|
127
|
+
}), St(
|
|
128
|
+
() => I.isToolActive(2),
|
|
129
|
+
(e) => {
|
|
130
|
+
ct(e), e && (R.value = !0), Ee() && me(!!e);
|
|
131
|
+
}
|
|
132
|
+
);
|
|
133
|
+
const V = (e, t) => {
|
|
134
|
+
we({
|
|
135
|
+
isTool: !0,
|
|
136
|
+
event_name: e,
|
|
137
|
+
event_target: "MeasureTool",
|
|
138
|
+
content: t
|
|
139
|
+
});
|
|
140
|
+
}, at = () => {
|
|
141
|
+
ee(), window.bimViewer.SetMeasureProAllDisactive(), ke("closePanel"), w.value === !0 && C();
|
|
142
|
+
}, xe = (e) => {
|
|
143
|
+
if (b.value === e.id)
|
|
144
|
+
return;
|
|
145
|
+
b.value = e.id, q.SaveViewerState({ measure: e.code }), M.value = "", ee(), it(), De(e), R.value = !0;
|
|
146
|
+
const t = a && a.getMeasurementsSummaryByMode ? a.getMeasurementsSummaryByMode(e.code) : [];
|
|
147
|
+
t.length ? D(t[t.length - 1].id) : B(), h("isMobile") && (f.value = !1);
|
|
148
|
+
}, De = (e) => {
|
|
149
|
+
const t = e.code;
|
|
150
|
+
window.bimViewer.SetMeasureProActive(e.code, !0), we({
|
|
151
|
+
isTool: !0,
|
|
152
|
+
event_name: "",
|
|
153
|
+
event_target: "MeasureTool",
|
|
154
|
+
content: {
|
|
155
|
+
measureTool: t
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}, Ae = () => {
|
|
159
|
+
if (x.value) {
|
|
160
|
+
ee();
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
if (!a || !a.beginMeasureDatumPick) {
|
|
164
|
+
G(i("measure.setDatumHint"));
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
if (window.bimViewer.SetMeasureProActive("elevation", !0), M.value = "", !a.beginMeasureDatumPick()) {
|
|
168
|
+
G(i("measure.setDatumHint"));
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
x.value = !0, R.value = !0, w.value = !1;
|
|
172
|
+
}, ee = () => {
|
|
173
|
+
x.value = !1, a && a.cancelMeasureDatumPick && a.cancelMeasureDatumPick();
|
|
174
|
+
}, ot = () => {
|
|
175
|
+
B(), a && a.clearAll(), O.clear(), z.clear(), V("destroyAllMeasure", { msg: "删除全部测量" }), f.value = !1;
|
|
176
|
+
}, nt = () => {
|
|
177
|
+
const e = g.value;
|
|
178
|
+
if (!e) return;
|
|
179
|
+
const t = T.value === "pointAngle" || T.value === "edgeAngle";
|
|
180
|
+
ut(e), V(t ? "destroyMeasurementAngle" : "destroyMeasureDistance", { id: e }), B(), f.value = !1;
|
|
181
|
+
}, C = () => {
|
|
182
|
+
w.value = !w.value;
|
|
183
|
+
}, Se = () => {
|
|
184
|
+
C(), Ce(), g.value && D(g.value), V("updateMeasureSet", {
|
|
185
|
+
measurePrefer: {
|
|
186
|
+
distance_precision: P.value,
|
|
187
|
+
distance_unit: k.value,
|
|
188
|
+
distance_scale: Y.value
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
}, B = () => {
|
|
192
|
+
re.value = "", de.value = "", ue.value = "", ce.value = "", Z.value = "", K.value = "", Q.value = "", g.value = "";
|
|
193
|
+
}, D = (e) => {
|
|
194
|
+
if (!e || !a || !a.getMeasurementSummary) return;
|
|
195
|
+
g.value = e;
|
|
196
|
+
const t = a.getModeByMeasurementId(e);
|
|
197
|
+
if (t) {
|
|
198
|
+
const c = j.find((_) => _.code === t);
|
|
199
|
+
if (!c) {
|
|
200
|
+
B();
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
c.id !== b.value && (b.value = c.id, q.SaveViewerState({ measure: c.code })), a.getActiveByMode(t) || De(c);
|
|
204
|
+
}
|
|
205
|
+
const n = a.getMeasurementSummary(e);
|
|
206
|
+
n && (re.value = n.text || (n.value ? n.value.toFixed(P.value) : ""), de.value = n.description || n.relationLabel || "", Z.value = n.xResult ?? "", K.value = n.yResult ?? "", Q.value = n.zResult ?? "");
|
|
207
|
+
}, Pe = (e) => {
|
|
208
|
+
!e || !a || !a.selectMeasurementById || a.selectMeasurementById(e);
|
|
209
|
+
}, it = () => {
|
|
210
|
+
!a || !a.clearSelectedMeasurement || a.clearSelectedMeasurement();
|
|
211
|
+
}, Ve = (e) => {
|
|
212
|
+
!e || e !== g.value || B();
|
|
213
|
+
}, ut = (e) => {
|
|
214
|
+
if (e) {
|
|
215
|
+
if (a && a.getModeByMeasurementId(e)) {
|
|
216
|
+
a.destroyMeasurementById(e);
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
O.destroyMeasurementById(e), z.destroyMeasurementById(e);
|
|
220
|
+
}
|
|
221
|
+
}, Ce = (e = !0) => {
|
|
222
|
+
a && (e && (a.unit = k.value), a.scale = Y.value, a.precision = P.value);
|
|
223
|
+
}, Be = (e) => {
|
|
224
|
+
k.value = e.unit, g.value && D(g.value);
|
|
225
|
+
}, ct = (e) => {
|
|
226
|
+
a && a.setAllVisible(e), O.setAllVisible(e), z.setAllVisible(e);
|
|
227
|
+
};
|
|
228
|
+
Ne(() => {
|
|
229
|
+
document.getElementById("top_bar");
|
|
230
|
+
});
|
|
231
|
+
const U = u(!1);
|
|
232
|
+
let F = !1, te = 0, le = 0;
|
|
233
|
+
const se = u(290), ae = u(300), Ee = () => !!h("isMobile"), X = () => document.getElementById("measure_mouseGroup"), Le = () => {
|
|
234
|
+
var e, t, n, c;
|
|
235
|
+
return ((c = (n = (t = (e = window.bimViewer) == null ? void 0 : e.viewer) == null ? void 0 : t.scene) == null ? void 0 : n.canvas) == null ? void 0 : c.canvas) || null;
|
|
236
|
+
}, Ie = () => {
|
|
237
|
+
const e = X();
|
|
238
|
+
if (!e)
|
|
239
|
+
return [se.value + Je, ae.value + Ze];
|
|
240
|
+
const t = e.getBoundingClientRect();
|
|
241
|
+
return [t.left + Je, t.top + Ze];
|
|
242
|
+
}, N = (e, t) => {
|
|
243
|
+
const n = Le();
|
|
244
|
+
if (!n)
|
|
245
|
+
return;
|
|
246
|
+
const [c, _] = Ie(), y = {
|
|
247
|
+
bubbles: !0,
|
|
248
|
+
cancelable: !0,
|
|
249
|
+
composed: !0,
|
|
250
|
+
clientX: c,
|
|
251
|
+
clientY: _,
|
|
252
|
+
screenX: c,
|
|
253
|
+
screenY: _,
|
|
254
|
+
button: 0,
|
|
255
|
+
buttons: t,
|
|
256
|
+
pointerId: 1,
|
|
257
|
+
pointerType: "touch",
|
|
258
|
+
isPrimary: !0
|
|
259
|
+
};
|
|
260
|
+
let A;
|
|
261
|
+
try {
|
|
262
|
+
A = new PointerEvent(e, y);
|
|
263
|
+
} catch {
|
|
264
|
+
A = new MouseEvent(e, y);
|
|
265
|
+
}
|
|
266
|
+
n.dispatchEvent(A);
|
|
267
|
+
}, Re = () => {
|
|
268
|
+
N("pointermove", 0);
|
|
269
|
+
}, rt = () => {
|
|
270
|
+
const e = X(), [t, n] = Ie(), c = e ? e.style.visibility : "";
|
|
271
|
+
e && (e.style.visibility = "hidden");
|
|
272
|
+
const _ = document.elementFromPoint ? document.elementFromPoint(t, n) : null;
|
|
273
|
+
return e && (e.style.visibility = c), _;
|
|
274
|
+
}, $e = () => {
|
|
275
|
+
const e = rt(), t = e && e.closest ? e.closest(".tctwins-pro-pill") : null;
|
|
276
|
+
if (t) {
|
|
277
|
+
t.dispatchEvent(new MouseEvent("click", { bubbles: !0, cancelable: !0, view: window }));
|
|
278
|
+
return;
|
|
279
|
+
}
|
|
280
|
+
const n = Le();
|
|
281
|
+
if (e && e !== n && !(n && n.contains(e)))
|
|
282
|
+
return;
|
|
283
|
+
N("pointermove", 0);
|
|
284
|
+
const c = () => {
|
|
285
|
+
N("pointerdown", 1), N("pointerup", 0);
|
|
286
|
+
};
|
|
287
|
+
typeof requestAnimationFrame == "function" ? requestAnimationFrame(c) : c();
|
|
288
|
+
}, dt = () => {
|
|
289
|
+
N("contextmenu", 0), M.value = "";
|
|
290
|
+
}, vt = () => {
|
|
291
|
+
const e = !U.value;
|
|
292
|
+
e || (ee(), dt()), me(e);
|
|
293
|
+
}, mt = () => {
|
|
294
|
+
const e = X();
|
|
295
|
+
if (!e)
|
|
296
|
+
return;
|
|
297
|
+
const n = (e.offsetParent || document.body).getBoundingClientRect(), c = e.getBoundingClientRect(), _ = n.width || window.innerWidth, y = n.height || window.innerHeight, A = c.width || 40, W = c.height || 84, _e = _ * 0.62 - A / 2, oe = y * 0.5 - W / 2;
|
|
298
|
+
se.value = Math.max(0, Math.min(_e, _ - A)), ae.value = Math.max(0, Math.min(oe, y - W));
|
|
299
|
+
}, Ue = (e) => {
|
|
300
|
+
e.touches.length == 1 && (F = !0, te = e.touches[0].clientX, le = e.touches[0].clientY);
|
|
301
|
+
}, He = (e) => {
|
|
302
|
+
if (!F || e.touches.length != 1)
|
|
303
|
+
return;
|
|
304
|
+
const t = e.touches[0].clientX, n = e.touches[0].clientY;
|
|
305
|
+
se.value += t - te, ae.value += n - le, te = t, le = n, Re();
|
|
306
|
+
}, Oe = () => {
|
|
307
|
+
F = !1;
|
|
308
|
+
}, _t = () => {
|
|
309
|
+
const e = X();
|
|
310
|
+
e && (ve(), e.addEventListener("touchstart", Ue), e.addEventListener("touchmove", He), e.addEventListener("touchend", Oe), e.addEventListener("click", $e), F = !1, te = 0, le = 0);
|
|
311
|
+
}, ve = () => {
|
|
312
|
+
const e = X();
|
|
313
|
+
e == null || e.removeEventListener("touchstart", Ue), e == null || e.removeEventListener("touchmove", He), e == null || e.removeEventListener("touchend", Oe), e == null || e.removeEventListener("click", $e);
|
|
314
|
+
}, me = (e) => {
|
|
315
|
+
if (U.value !== e) {
|
|
316
|
+
if (U.value = e, !e) {
|
|
317
|
+
ve(), F = !1, M.value = "";
|
|
318
|
+
return;
|
|
319
|
+
}
|
|
320
|
+
Pt(() => {
|
|
321
|
+
mt(), _t(), Re();
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
return (e, t) => {
|
|
326
|
+
var oe, ze, Ye;
|
|
327
|
+
const n = ht, c = gt, _ = kt, y = Mt, A = xt, W = wt, _e = bt;
|
|
328
|
+
return r(), d(S, null, [
|
|
329
|
+
o(h)("isMobile") ? (r(), d("div", Nt, [
|
|
330
|
+
l("div", Wt, [
|
|
331
|
+
l("div", {
|
|
332
|
+
class: J(["mobile_set_btn", { mobile_set_btn_active: w.value }]),
|
|
333
|
+
onClick: C
|
|
334
|
+
}, [
|
|
335
|
+
l("img", {
|
|
336
|
+
src: `${o(E)}/industry-viewer/action-bar/${(oe = o(I).getToolById(11)) == null ? void 0 : oe.img}.svg`,
|
|
337
|
+
alt: ""
|
|
338
|
+
}, null, 8, jt)
|
|
339
|
+
], 2),
|
|
340
|
+
l("div", qt, [
|
|
341
|
+
l("div", {
|
|
342
|
+
class: "mouse",
|
|
343
|
+
onClick: vt
|
|
344
|
+
}, [
|
|
345
|
+
l("img", {
|
|
346
|
+
src: `${o(E)}/industry-viewer/action-bar/${U.value ? (ze = o(I).getToolById(16)) == null ? void 0 : ze.imgActive : (Ye = o(I).getToolById(16)) == null ? void 0 : Ye.img}.svg`
|
|
347
|
+
}, null, 8, Jt),
|
|
348
|
+
l("span", {
|
|
349
|
+
style: be({ color: U.value ? "#1457F7" : "#262626" })
|
|
350
|
+
}, v(o(i)("toolbar.virtualMouse")), 5)
|
|
351
|
+
])
|
|
352
|
+
])
|
|
353
|
+
]),
|
|
354
|
+
l("div", Zt, [
|
|
355
|
+
(r(!0), d(S, null, L(o(j), (s) => (r(), d("div", {
|
|
356
|
+
key: s.id,
|
|
357
|
+
class: J(["measure-item", {
|
|
358
|
+
"measure-item-active": b.value === s.id
|
|
359
|
+
}]),
|
|
360
|
+
onClick: (pt) => xe(s)
|
|
361
|
+
}, [
|
|
362
|
+
l("div", Qt, [
|
|
363
|
+
l("img", {
|
|
364
|
+
src: `${o(E)}/bim-viewer/measure-bar/bimkk-mobile-measure-${b.value === s.id ? s.svgActive : s.svg}.svg`,
|
|
365
|
+
alt: ""
|
|
366
|
+
}, null, 8, Gt),
|
|
367
|
+
l("div", el, v(o(i)(s.label || s.name)), 1)
|
|
368
|
+
])
|
|
369
|
+
], 10, Kt))), 128)),
|
|
370
|
+
f.value ? (r(), d("div", {
|
|
371
|
+
key: 0,
|
|
372
|
+
class: "measure-item",
|
|
373
|
+
onClick: nt
|
|
374
|
+
}, [
|
|
375
|
+
l("div", tl, [
|
|
376
|
+
l("img", {
|
|
377
|
+
src: `${o(E)}/bim-viewer/delete.svg`,
|
|
378
|
+
alt: ""
|
|
379
|
+
}, null, 8, ll),
|
|
380
|
+
l("div", sl, v(o(i)("common.delete")), 1)
|
|
381
|
+
])
|
|
382
|
+
])) : ne("", !0)
|
|
383
|
+
])
|
|
384
|
+
])) : (r(), We(A, {
|
|
385
|
+
key: 0,
|
|
386
|
+
class: "measure_panel",
|
|
387
|
+
width: ie.value,
|
|
388
|
+
panelTitle: w.value ? o(i)("measure.settings") : o(i)("measure.title"),
|
|
389
|
+
"click-handle": at
|
|
390
|
+
}, {
|
|
391
|
+
default: H(() => [
|
|
392
|
+
w.value ? (r(), d("div", Ut, [
|
|
393
|
+
l("div", Ht, [
|
|
394
|
+
l("div", Ot, [
|
|
395
|
+
l("div", zt, [
|
|
396
|
+
l("span", null, v(o(i)("measure.scaleLabel")), 1),
|
|
397
|
+
t[5] || (t[5] = l("span", null, "1:", -1)),
|
|
398
|
+
p(c, {
|
|
399
|
+
modelValue: Y.value,
|
|
400
|
+
"onUpdate:modelValue": t[0] || (t[0] = (s) => Y.value = s),
|
|
401
|
+
style: { width: "122px", height: "28px" },
|
|
402
|
+
placeholder: "1"
|
|
403
|
+
}, null, 8, ["modelValue"])
|
|
404
|
+
]),
|
|
405
|
+
l("div", Yt, [
|
|
406
|
+
l("span", null, v(o(i)("measure.unitLabel")), 1),
|
|
407
|
+
p(y, {
|
|
408
|
+
modelValue: k.value,
|
|
409
|
+
"onUpdate:modelValue": t[1] || (t[1] = (s) => k.value = s),
|
|
410
|
+
placeholder: o(i)("measure.unitPlaceholder"),
|
|
411
|
+
style: { width: "136px", height: "28px" }
|
|
412
|
+
}, {
|
|
413
|
+
default: H(() => [
|
|
414
|
+
(r(), d(S, null, L(ge, (s) => p(_, {
|
|
415
|
+
key: s.value,
|
|
416
|
+
value: s.value
|
|
417
|
+
}, null, 8, ["value"])), 64))
|
|
418
|
+
]),
|
|
419
|
+
_: 1
|
|
420
|
+
}, 8, ["modelValue", "placeholder"])
|
|
421
|
+
]),
|
|
422
|
+
l("div", Ft, [
|
|
423
|
+
l("span", null, v(o(i)("measure.precisionLabel")), 1),
|
|
424
|
+
p(y, {
|
|
425
|
+
modelValue: P.value,
|
|
426
|
+
"onUpdate:modelValue": t[2] || (t[2] = (s) => P.value = s),
|
|
427
|
+
placeholder: o(i)("measure.precisionPlaceholder"),
|
|
428
|
+
style: { width: "136px", height: "28px" }
|
|
429
|
+
}, {
|
|
430
|
+
default: H(() => [
|
|
431
|
+
(r(), d(S, null, L(Me, (s) => p(_, {
|
|
432
|
+
key: s.value,
|
|
433
|
+
label: s.label,
|
|
434
|
+
value: s.value
|
|
435
|
+
}, null, 8, ["label", "value"])), 64))
|
|
436
|
+
]),
|
|
437
|
+
_: 1
|
|
438
|
+
}, 8, ["modelValue", "placeholder"])
|
|
439
|
+
])
|
|
440
|
+
])
|
|
441
|
+
]),
|
|
442
|
+
l("div", Xt, [
|
|
443
|
+
l("div", {
|
|
444
|
+
class: "measure_footer_button measure_footer_button_cancel",
|
|
445
|
+
onClick: C
|
|
446
|
+
}, v(o(i)("common.cancel")), 1),
|
|
447
|
+
l("div", {
|
|
448
|
+
class: "measure_footer_button measure_footer_button_save",
|
|
449
|
+
onClick: Se
|
|
450
|
+
}, v(o(i)("common.save")), 1)
|
|
451
|
+
])
|
|
452
|
+
])) : (r(), d("div", Vt, [
|
|
453
|
+
l("div", Ct, [
|
|
454
|
+
(r(!0), d(S, null, L(o(j), (s) => (r(), We(n, {
|
|
455
|
+
key: s.id,
|
|
456
|
+
content: o(i)(s.label),
|
|
457
|
+
placement: "top",
|
|
458
|
+
effect: "light",
|
|
459
|
+
"hide-after": 50
|
|
460
|
+
}, {
|
|
461
|
+
default: H(() => [
|
|
462
|
+
l("div", {
|
|
463
|
+
class: J(["measurement_box", { measurement_box_active: b.value === s.id }]),
|
|
464
|
+
onClick: (pt) => xe(s)
|
|
465
|
+
}, [
|
|
466
|
+
s.img || s.imgActive ? (r(), d("img", {
|
|
467
|
+
key: 0,
|
|
468
|
+
class: "measurement_img",
|
|
469
|
+
src: `${o(E)}/bim-viewer/action-bars/pmeasure-${b.value === s.id ? s.imgActive : s.img}.svg`,
|
|
470
|
+
alt: ""
|
|
471
|
+
}, null, 8, Et)) : (r(), d("span", Lt))
|
|
472
|
+
], 10, Bt)
|
|
473
|
+
]),
|
|
474
|
+
_: 2
|
|
475
|
+
}, 1032, ["content"]))), 128))
|
|
476
|
+
]),
|
|
477
|
+
l("div", It, [
|
|
478
|
+
(r(!0), d(S, null, L(st.value, (s) => (r(), d("div", {
|
|
479
|
+
key: s.key,
|
|
480
|
+
class: "data_box"
|
|
481
|
+
}, [
|
|
482
|
+
l("div", null, v(o(i)(s.label)), 1),
|
|
483
|
+
l("div", {
|
|
484
|
+
style: be({ color: s.color })
|
|
485
|
+
}, v(s.value), 5)
|
|
486
|
+
]))), 128))
|
|
487
|
+
]),
|
|
488
|
+
T.value === "elevation" ? (r(), d("div", Rt, [
|
|
489
|
+
l("div", {
|
|
490
|
+
class: J(["datum_button", { datum_button_active: x.value }]),
|
|
491
|
+
onClick: Ae
|
|
492
|
+
}, v(o(i)("measure.setDatum")), 3)
|
|
493
|
+
])) : ne("", !0),
|
|
494
|
+
l("div", $t, [
|
|
495
|
+
l("span", { onClick: ot }, v(o(i)("measure.clearAll")), 1),
|
|
496
|
+
l("span", { onClick: C }, v(o(i)("setting.title")), 1)
|
|
497
|
+
])
|
|
498
|
+
]))
|
|
499
|
+
]),
|
|
500
|
+
_: 1
|
|
501
|
+
}, 8, ["width", "panelTitle"])),
|
|
502
|
+
w.value && o(h)("isMobile") ? (r(), d("div", al, [
|
|
503
|
+
l("div", ol, [
|
|
504
|
+
p(W, {
|
|
505
|
+
width: 0.34,
|
|
506
|
+
"size-type": "rem",
|
|
507
|
+
"click-handle": C
|
|
508
|
+
})
|
|
509
|
+
]),
|
|
510
|
+
l("div", nl, v(o(i)("measure.settings")), 1),
|
|
511
|
+
l("div", il, [
|
|
512
|
+
l("span", null, v(o(i)("measure.unitLabel")), 1),
|
|
513
|
+
p(y, {
|
|
514
|
+
modelValue: k.value,
|
|
515
|
+
"onUpdate:modelValue": t[3] || (t[3] = (s) => k.value = s),
|
|
516
|
+
teleported: !1,
|
|
517
|
+
placeholder: o(i)("measure.unitPlaceholder"),
|
|
518
|
+
style: { width: "136px", height: "28px" }
|
|
519
|
+
}, {
|
|
520
|
+
default: H(() => [
|
|
521
|
+
(r(), d(S, null, L(ge, (s) => p(_, {
|
|
522
|
+
key: s.value,
|
|
523
|
+
value: s.value
|
|
524
|
+
}, null, 8, ["value"])), 64))
|
|
525
|
+
]),
|
|
526
|
+
_: 1
|
|
527
|
+
}, 8, ["modelValue", "placeholder"])
|
|
528
|
+
]),
|
|
529
|
+
l("div", ul, [
|
|
530
|
+
l("span", null, v(o(i)("measure.precisionLabel")), 1),
|
|
531
|
+
p(y, {
|
|
532
|
+
modelValue: P.value,
|
|
533
|
+
"onUpdate:modelValue": t[4] || (t[4] = (s) => P.value = s),
|
|
534
|
+
teleported: !1,
|
|
535
|
+
placeholder: o(i)("measure.precisionPlaceholder"),
|
|
536
|
+
style: { width: "136px", height: "28px" }
|
|
537
|
+
}, {
|
|
538
|
+
default: H(() => [
|
|
539
|
+
(r(), d(S, null, L(Me, (s) => p(_, {
|
|
540
|
+
key: s.value,
|
|
541
|
+
label: s.label,
|
|
542
|
+
value: s.value
|
|
543
|
+
}, null, 8, ["label", "value"])), 64))
|
|
544
|
+
]),
|
|
545
|
+
_: 1
|
|
546
|
+
}, 8, ["modelValue", "placeholder"])
|
|
547
|
+
]),
|
|
548
|
+
T.value === "elevation" ? (r(), d("div", cl, [
|
|
549
|
+
l("div", {
|
|
550
|
+
class: J(["datum_action", { datum_action_active: x.value }]),
|
|
551
|
+
onClick: Ae
|
|
552
|
+
}, v(o(i)("measure.setDatum")), 3)
|
|
553
|
+
])) : ne("", !0),
|
|
554
|
+
l("div", rl, [
|
|
555
|
+
l("div", {
|
|
556
|
+
class: "mobile_set_button",
|
|
557
|
+
onClick: C
|
|
558
|
+
}, v(o(i)("common.cancel")), 1),
|
|
559
|
+
l("div", {
|
|
560
|
+
class: "mobile_set_button mobile_set_button_primary",
|
|
561
|
+
onClick: Se
|
|
562
|
+
}, v(o(i)("common.save")), 1)
|
|
563
|
+
])
|
|
564
|
+
])) : ne("", !0),
|
|
565
|
+
je(p(_e, {
|
|
566
|
+
title: tt.value,
|
|
567
|
+
"click-handle": lt
|
|
568
|
+
}, null, 8, ["title"]), [
|
|
569
|
+
[qe, R.value]
|
|
570
|
+
]),
|
|
571
|
+
je(l("div", {
|
|
572
|
+
id: "measure_mouseGroup",
|
|
573
|
+
class: "mouse_group",
|
|
574
|
+
style: be({ left: `${se.value}px`, top: `${ae.value}px` })
|
|
575
|
+
}, [
|
|
576
|
+
l("img", {
|
|
577
|
+
id: "mouse_icon",
|
|
578
|
+
class: "mouse_icon",
|
|
579
|
+
src: `${o(E)}/industry-viewer/mouse-icon.svg`
|
|
580
|
+
}, null, 8, dl),
|
|
581
|
+
l("img", {
|
|
582
|
+
id: "mouse_img",
|
|
583
|
+
class: "mouse_img",
|
|
584
|
+
src: `${o(E)}/industry-viewer/mouse-active-large.svg`
|
|
585
|
+
}, null, 8, vl)
|
|
586
|
+
], 4), [
|
|
587
|
+
[qe, U.value]
|
|
588
|
+
])
|
|
589
|
+
], 64);
|
|
590
|
+
};
|
|
591
|
+
}
|
|
592
|
+
}), yl = /* @__PURE__ */ Tt(ml, [["__scopeId", "data-v-b7b27337"]]);
|
|
593
|
+
export {
|
|
594
|
+
yl as default
|
|
595
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Y, onMounted as x, onBeforeUnmount as A, ref as _, watch as C, openBlock as M, createElementBlock as $, withDirectives as F, createElementVNode as g, normalizeStyle as D, unref as L, vShow as N } from "vue";
|
|
2
|
-
import { G as P, I as s, P as k, a0 as V } from "./index-
|
|
2
|
+
import { G as P, I as s, P as k, a0 as V } from "./index-fIchFHNn.mjs";
|
|
3
3
|
const R = { class: "mouse_tool" }, U = ["src"], z = ["src"], J = /* @__PURE__ */ Y({
|
|
4
4
|
__name: "MouseTool",
|
|
5
5
|
props: ["componentId"],
|