@xtctwins/tctwins-bimx-engine 0.1.42 → 0.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{AnnotationTool-CvF47VLZ.mjs → AnnotationTool-DH4oLGzx.mjs} +30 -35
- package/dist/BIMX_Viewer_Lib.es.js +1 -1
- package/dist/BIMX_Viewer_Lib.umd.js +86 -86
- package/dist/{CommentTool--uR19lto.mjs → CommentTool-zn8YRYA1.mjs} +3 -3
- package/dist/{HiddenTool-BxfGVyns.mjs → HiddenTool-CediIZZV.mjs} +1 -1
- package/dist/{InspectorTool-hJMs-vvp.mjs → InspectorTool-Ccrh9ezI.mjs} +79 -78
- package/dist/{MeasureTool-DbQYO9iF.mjs → MeasureTool-C3DxHobx.mjs} +9 -9
- package/dist/{NavigateTool-BeEA9udh.mjs → NavigateTool-CPYG8LOv.mjs} +1 -1
- package/dist/{RoamTool-HX55KL3E.mjs → RoamTool--_V04i7_.mjs} +1 -1
- package/dist/{ScreenShotTool-CKGJt2oP.mjs → ScreenShotTool-CnM_UGdd.mjs} +4 -4
- package/dist/{SectionTool-CNv1lvqA.mjs → SectionTool-BmvzZrms.mjs} +74 -70
- package/dist/{SettingTool-DZXXsSdg.mjs → SettingTool-CtD3tqKc.mjs} +23 -19
- package/dist/{StructureTree-B3QBIW1J.mjs → StructureTree-C9ix6Wvh.mjs} +483 -478
- package/dist/{alert-CTKeWx4k.mjs → alert-7XoCFtii.mjs} +2 -2
- package/dist/closeButton-Bffq0WJq.mjs +44 -0
- package/dist/{debounce-CP-RzNoZ.mjs → debounce-TUCCTAOM.mjs} +1 -1
- package/dist/{el-checkbox-B8xbb-xt.mjs → el-checkbox-CA_LyGn8.mjs} +4 -4
- package/dist/{el-input-B3h55N23.mjs → el-input-DUS-6gDU.mjs} +1 -1
- package/dist/{el-input-number-DrpUmTGV.mjs → el-input-number-D74BMLjn.mjs} +4 -4
- package/dist/{index-D4WCczO5.mjs → index-B9OUiOis.mjs} +20829 -19937
- package/dist/{index-DCniOWwP.mjs → index-CEVYuK_0.mjs} +1 -1
- package/dist/{index-Cjxa79Jh.mjs → index-UoEOYioe.mjs} +1 -1
- package/dist/{isEqual-DeLAd1sX.mjs → isEqual-CYG4iI0V.mjs} +1 -1
- package/dist/{panel.vue_vue_type_style_index_0_lang-Cie_cH3Y.mjs → panel.vue_vue_type_style_index_0_lang-CyykuZUW.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dist/{tallPanel-rUqudcb6.mjs → tallPanel-1eBqB0Pa.mjs} +2 -2
- package/package.json +2 -2
- package/types/components/utilsComponents/closeButton.vue.d.ts +9 -0
- package/types/store/toolbars.d.ts +5 -0
- package/dist/closeButton-Ca9eeTnV.mjs +0 -41
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as L } from "./alert-
|
|
2
|
-
import { j as D, k as r, l as A, O as s, m as O, n as H } from "./index-
|
|
3
|
-
import { defineComponent as q, ref as u, watch as P, onMounted as R, onBeforeUnmount as U, openBlock as
|
|
1
|
+
import { _ as L } from "./alert-7XoCFtii.mjs";
|
|
2
|
+
import { j as D, k as r, l as A, O as s, m as O, n as H } from "./index-B9OUiOis.mjs";
|
|
3
|
+
import { defineComponent as q, ref as u, watch as P, onMounted as R, onBeforeUnmount as U, openBlock as t, createElementBlock as e, unref as l, createCommentVNode as v, createElementVNode as i, Fragment as k, renderList as B, normalizeClass as V, createVNode as I, withCtx as j, toDisplayString as z, withDirectives as F, vShow as G } from "vue";
|
|
4
4
|
import { A as y } from "./const-B1FlFgEN.mjs";
|
|
5
5
|
const J = { class: "annotation_component" }, K = {
|
|
6
6
|
key: 0,
|
|
@@ -15,7 +15,7 @@ const J = { class: "annotation_component" }, K = {
|
|
|
15
15
|
}, en = {
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "mobile_annotation_toolbar"
|
|
18
|
-
}, an = { class: "label-list" }, sn = ["onClick"], ln = { class: "item-img" }, cn = ["src"], rn =
|
|
18
|
+
}, an = { class: "label-list" }, sn = ["onClick"], ln = { class: "item-img" }, cn = ["src"], rn = { class: "item-name" }, _n = /* @__PURE__ */ q({
|
|
19
19
|
__name: "AnnotationTool",
|
|
20
20
|
props: ["componentId"],
|
|
21
21
|
emits: ["uploadImage", "clickAnnotation", "emitHandler"],
|
|
@@ -25,7 +25,7 @@ const J = { class: "annotation_component" }, K = {
|
|
|
25
25
|
};
|
|
26
26
|
let g;
|
|
27
27
|
const b = u(!0), a = u("");
|
|
28
|
-
let
|
|
28
|
+
let d;
|
|
29
29
|
const S = u(), f = C;
|
|
30
30
|
P(
|
|
31
31
|
() => p.isToolActive(f.componentId),
|
|
@@ -42,7 +42,7 @@ const J = { class: "annotation_component" }, K = {
|
|
|
42
42
|
text: `${s}/BIMX_Website/main/mainView/function_icon/annotation_icons/text_active.png`,
|
|
43
43
|
video: `${s}/BIMX_Website/main/mainView/function_icon/annotation_icons/video_active.png`
|
|
44
44
|
}, w = () => {
|
|
45
|
-
g = window.BimViewer.annotationTool, g.setTypeImage(x),
|
|
45
|
+
g = window.BimViewer.annotationTool, g.setTypeImage(x), d = window.BimViewer.eventTrigger, d.on("createAnnotation", (n) => {
|
|
46
46
|
_({
|
|
47
47
|
isTool: !0,
|
|
48
48
|
event_target: "AnnotationTool",
|
|
@@ -51,7 +51,7 @@ const J = { class: "annotation_component" }, K = {
|
|
|
51
51
|
currentAnnotation: n
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
-
}),
|
|
54
|
+
}), d.on("markerClicked", (n) => {
|
|
55
55
|
_({
|
|
56
56
|
isTool: !0,
|
|
57
57
|
event_target: "AnnotationTool",
|
|
@@ -60,7 +60,7 @@ const J = { class: "annotation_component" }, K = {
|
|
|
60
60
|
targetAnno: n
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
-
}), r("isMobile") ||
|
|
63
|
+
}), r("isMobile") || d.on("requestDeleteMarker", (n) => {
|
|
64
64
|
_({
|
|
65
65
|
isTool: !0,
|
|
66
66
|
event_target: "AnnotationTool",
|
|
@@ -92,55 +92,50 @@ const J = { class: "annotation_component" }, K = {
|
|
|
92
92
|
};
|
|
93
93
|
return (n, c) => {
|
|
94
94
|
const N = O, W = L;
|
|
95
|
-
return
|
|
96
|
-
l(r)("isMobile") ? (
|
|
97
|
-
c[0] || (c[0] =
|
|
98
|
-
|
|
95
|
+
return t(), e("div", J, [
|
|
96
|
+
l(r)("isMobile") ? (t(), e("div", en, [
|
|
97
|
+
c[0] || (c[0] = i("div", { class: "label-title-box" }, [
|
|
98
|
+
i("div", { class: "label-title" }, "标注")
|
|
99
99
|
], -1)),
|
|
100
100
|
I(N, null, {
|
|
101
101
|
default: j(() => [
|
|
102
|
-
|
|
103
|
-
(
|
|
104
|
-
key:
|
|
102
|
+
i("div", an, [
|
|
103
|
+
(t(!0), e(k, null, B(l(y), (o, m) => (t(), e("div", {
|
|
104
|
+
key: m,
|
|
105
105
|
class: V(["label-item", { "label-item-active": a.value === o.code }]),
|
|
106
106
|
onClick: (X) => T(o)
|
|
107
107
|
}, [
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
i("div", ln, [
|
|
109
|
+
i("img", {
|
|
110
110
|
class: "label-item-img",
|
|
111
111
|
src: l(s) + `/bim-viewer/label-bar/${a.value === o.code ? o.imgActive : o.img}.svg`,
|
|
112
112
|
alt: ""
|
|
113
|
-
}, null, 8, cn)
|
|
114
|
-
t("img", {
|
|
115
|
-
class: "label-item-icon",
|
|
116
|
-
src: l(s) + "/member-images/open-member-icon.png",
|
|
117
|
-
alt: ""
|
|
118
|
-
}, null, 8, rn)
|
|
113
|
+
}, null, 8, cn)
|
|
119
114
|
]),
|
|
120
|
-
|
|
115
|
+
i("div", rn, z(o.name), 1)
|
|
121
116
|
], 10, sn))), 128))
|
|
122
117
|
])
|
|
123
118
|
]),
|
|
124
119
|
_: 1
|
|
125
120
|
})
|
|
126
|
-
])) : (
|
|
127
|
-
l(r)("annotationPos").pos.includes("top") ? (
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
(
|
|
131
|
-
id: `annotation_tool_btn_${
|
|
132
|
-
key:
|
|
121
|
+
])) : (t(), e("div", K, [
|
|
122
|
+
l(r)("annotationPos").pos.includes("top") ? (t(), e("div", Q)) : v("", !0),
|
|
123
|
+
i("div", Y, [
|
|
124
|
+
i("div", Z, [
|
|
125
|
+
(t(!0), e(k, null, B(l(y), (o, m) => (t(), e("button", {
|
|
126
|
+
id: `annotation_tool_btn_${m}`,
|
|
127
|
+
key: m,
|
|
133
128
|
class: V(["annotation_tool_btn", { active: a.value === o.code }]),
|
|
134
129
|
onClick: (X) => T(o)
|
|
135
130
|
}, [
|
|
136
131
|
v("", !0),
|
|
137
|
-
|
|
132
|
+
i("img", {
|
|
138
133
|
src: `${l(s)}/BIMX_Website/main/mainView/function_icon/annotation_icons/${a.value !== o.code ? o.img : o.img_active}.png`
|
|
139
134
|
}, null, 8, on)
|
|
140
135
|
], 10, nn))), 128))
|
|
141
136
|
])
|
|
142
137
|
]),
|
|
143
|
-
l(r)("annotationPos").pos.includes("bottom") ? (
|
|
138
|
+
l(r)("annotationPos").pos.includes("bottom") ? (t(), e("div", tn)) : v("", !0)
|
|
144
139
|
])),
|
|
145
140
|
F(I(W, {
|
|
146
141
|
"click-handle": () => {
|
|
@@ -152,7 +147,7 @@ const J = { class: "annotation_component" }, K = {
|
|
|
152
147
|
]);
|
|
153
148
|
};
|
|
154
149
|
}
|
|
155
|
-
}),
|
|
150
|
+
}), pn = /* @__PURE__ */ H(_n, [["__scopeId", "data-v-5e5fd911"]]);
|
|
156
151
|
export {
|
|
157
|
-
|
|
152
|
+
pn as default
|
|
158
153
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { an as e, B as o, ao as t, aq as i, W as l, at as r, ap as n, ar as I, as as B } from "./index-
|
|
1
|
+
import { an as e, B as o, ao as t, aq as i, W as l, at as r, ap as n, ar as I, as as B } from "./index-B9OUiOis.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BIMXViewer,
|
|
4
4
|
o as BIMX_CONFIGS,
|