@xtctwins/tctwins-bimx-engine 0.3.7 → 0.3.9
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-CkIV37UE.mjs → AnnotationTool-BN1cQJZT.mjs} +32 -32
- package/dist/BIMX_Viewer_Lib.es.js +4 -4
- package/dist/BIMX_Viewer_Lib.umd.js +211 -211
- package/dist/{CameraViewTool-DeYagyPC.mjs → CameraViewTool-DoHrCSBa.mjs} +36 -36
- package/dist/{CommentTool-C1JukDRV.mjs → CommentTool-DzpiIRq5.mjs} +137 -137
- package/dist/{HiddenTool-CKIjuVdE.mjs → HiddenTool-DKl-Td4d.mjs} +14 -14
- package/dist/{InspectorTool-DqCIiob9.mjs → InspectorTool-ButMlfJZ.mjs} +12 -12
- package/dist/{MeasureTool-IHXJjZNc.mjs → MeasureTool-HA7KurNk.mjs} +57 -57
- package/dist/{MouseTool-C6IbMsSE.mjs → MouseTool-Cx7FUkja.mjs} +12 -12
- package/dist/{NavigateTool-DSBy4FZy.mjs → NavigateTool-CHspxjfw.mjs} +3 -3
- package/dist/{RoamTool-CvVZdDiz.mjs → RoamTool-CvErAJ4s.mjs} +15 -15
- package/dist/ScreenShotTool-BKFYnVZ5.mjs +430 -0
- package/dist/{SectionTool-BinUb4wa.mjs → SectionTool-Dc_qndpy.mjs} +60 -60
- package/dist/SettingTool-BYVwI27m.mjs +695 -0
- package/dist/StructureTree-CNrEg0TP.mjs +1686 -0
- package/dist/{alert-CWKghdMc.mjs → alert-BE0cXifr.mjs} +6 -6
- package/dist/el-slider-D_kA0TiT.mjs +1059 -0
- package/dist/{index-B9qL5nx5.mjs → index-s9bhlFsR.mjs} +63680 -62167
- package/dist/{panel.vue_vue_type_style_index_0_lang-D7G9bR05.mjs → panel.vue_vue_type_style_index_0_lang-D0m8xJuR.mjs} +1 -1
- package/dist/style.css +3 -3
- package/dist/{tallPanel-CHmr0WiN.mjs → tallPanel-C_lzWM4i.mjs} +10 -10
- package/package.json +11 -3
- package/types/App.vue.d.ts +3 -1
- package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +38 -10
- package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +37 -9
- package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +5 -7
- package/types/components/BCFComponents/BCFFilter.vue.d.ts +5 -7
- package/types/components/BCFComponents/BCFTool.vue.d.ts +4 -7
- package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +5 -7
- package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +5 -6
- package/types/components/BCFComponents/commentInput.vue.d.ts +36 -10
- package/types/components/BCFComponents/commentsView.vue.d.ts +36 -7
- package/types/components/BCFComponents/dialogPanel.vue.d.ts +5 -8
- package/types/components/BCFComponents/imageView.vue.d.ts +5 -7
- package/types/components/BCFComponents/imageZoomIn.vue.d.ts +5 -6
- package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +18 -1
- package/types/components/BimViewerComponents/CameraViewTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/CommentTool.vue.d.ts +32 -1
- package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +6 -8
- package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +4 -5
- package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
- package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +270 -1
- package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +291 -7
- package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +5 -6
- 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/SettingTool.vue.d.ts +4 -6
- package/types/components/BimViewerComponents/StructureTree.vue.d.ts +11642 -1
- package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
- package/types/components/BimxViewerComp.vue.d.ts +7 -25
- package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +37 -10
- package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +37 -9
- package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +291 -7
- package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +270 -1
- package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +5 -8
- package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +38 -12
- package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +7 -9
- package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +5 -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 +8 -2
- package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
- package/types/components/utilsComponents/rectangleButton.vue.d.ts +3 -1
- package/types/components/utilsComponents/tallPanel.vue.d.ts +13 -3
- package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +13 -3
- package/types/pages/BimxViewerEntry.vue.d.ts +4 -67
- package/types/store/toolbars.d.ts +50 -50
- package/types/utils/OSSHelper.d.ts +0 -2
- package/types/viewerManager/load/loadModel.d.ts +0 -83
- package/dist/ScreenShotTool-DdIU0vQg.mjs +0 -357
- package/dist/SettingTool-Bm2OgXES.mjs +0 -657
- package/dist/StructureTree-CPDEM-gp.mjs +0 -1583
- package/dist/el-input-number-DXVRwG5u.mjs +0 -818
- package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +0 -22
- package/types/components/BimViewerComponents/emptyPage.vue.d.ts +0 -8
- package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +0 -10
- package/types/components/bimxViewer.vue.d.ts +0 -27
- package/types/pages/viewerEntry.vue.d.ts +0 -116
- package/types/tests/cmt.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as D } from "./alert-
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import {
|
|
1
|
+
import { _ as D } from "./alert-BE0cXifr.mjs";
|
|
2
|
+
import { defineComponent as H, ref as p, watch as O, onMounted as q, onBeforeUnmount as F, openBlock as i, createElementBlock as a, unref as n, createCommentVNode as b, createElementVNode as c, normalizeClass as f, Fragment as B, renderList as C, toDisplayString as R, withDirectives as U, createVNode as z, vShow as G } from "vue";
|
|
3
|
+
import { F as j, G as J, H as o, I as v, P as r, M as K } from "./index-s9bhlFsR.mjs";
|
|
4
4
|
import { A as l } from "./const-DOnRsYpZ.mjs";
|
|
5
5
|
const Q = { class: "annotation_component" }, Y = {
|
|
6
6
|
key: 0,
|
|
@@ -9,31 +9,31 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
9
9
|
}, Z = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "toolbar_trangle"
|
|
12
|
-
}, ee = { class: "annotation_toolbar_group" }, ne = ["id", "disabled", "onClick"],
|
|
12
|
+
}, ee = { class: "annotation_toolbar_group" }, ne = ["id", "disabled", "onClick"], te = ["src"], oe = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "toolbar_trangle"
|
|
15
15
|
}, ie = {
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "mobile_annotation_toolbar"
|
|
18
|
-
}, ae = { class: "anno_toolList" }, se = { class: "label-list" }, ce = ["onClick"], re = { class: "item-img" }, le = ["src"], _e = { class: "item-name" }, de = /* @__PURE__ */
|
|
18
|
+
}, ae = { class: "anno_toolList" }, se = { class: "label-list" }, ce = ["onClick"], re = { class: "item-img" }, le = ["src"], _e = { class: "item-name" }, de = /* @__PURE__ */ H({
|
|
19
19
|
__name: "AnnotationTool",
|
|
20
20
|
props: ["componentId"],
|
|
21
21
|
emits: ["uploadImage", "clickAnnotation", "emitHandler"],
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
24
|
-
|
|
22
|
+
setup(P, { emit: $ }) {
|
|
23
|
+
const y = j(), w = J(), M = $, d = (e) => {
|
|
24
|
+
M("emitHandler", e);
|
|
25
25
|
};
|
|
26
26
|
let T;
|
|
27
27
|
const A = p(!0), s = p("");
|
|
28
28
|
let m;
|
|
29
|
-
const
|
|
30
|
-
|
|
29
|
+
const S = p(), h = P;
|
|
30
|
+
O(
|
|
31
31
|
() => w.isToolActive(h.componentId),
|
|
32
32
|
(e) => {
|
|
33
33
|
e || (s.value = "");
|
|
34
34
|
}
|
|
35
|
-
),
|
|
36
|
-
|
|
35
|
+
), q(() => {
|
|
36
|
+
S.value = o("annoLimit"), w.setReadyById(h.componentId);
|
|
37
37
|
});
|
|
38
38
|
const x = {
|
|
39
39
|
image: `${r}/BIMX_Website/main/mainView/function_icon/annotation_icons/image_active.png`,
|
|
@@ -60,7 +60,7 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
60
60
|
targetAnno: e
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
-
}),
|
|
63
|
+
}), o("isMobile") || m.on("requestDeleteMarker", (e) => {
|
|
64
64
|
d({
|
|
65
65
|
isTool: !0,
|
|
66
66
|
event_target: "AnnotationTool",
|
|
@@ -76,7 +76,7 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
76
76
|
const I = (e) => {
|
|
77
77
|
g(L(e.type));
|
|
78
78
|
};
|
|
79
|
-
v.on("setAnnoStatus", I),
|
|
79
|
+
v.on("setAnnoStatus", I), F(() => {
|
|
80
80
|
v.off("BimViewer", k), v.off("setAnnoStatus", I);
|
|
81
81
|
});
|
|
82
82
|
const L = (e) => {
|
|
@@ -91,7 +91,7 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
91
91
|
if (e === "text")
|
|
92
92
|
return l[4];
|
|
93
93
|
}, g = (e) => {
|
|
94
|
-
|
|
94
|
+
o("editPrivilege") != 1 && (s.value === e.code ? (s.value = "", V(e, !1)) : (s.value = e.code, V(e, !0)));
|
|
95
95
|
}, N = (e) => {
|
|
96
96
|
window.bimViewer.annotationTool.setEnabled(e);
|
|
97
97
|
}, V = (e, _) => {
|
|
@@ -110,53 +110,53 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
110
110
|
return (e, _) => {
|
|
111
111
|
const W = D;
|
|
112
112
|
return i(), a("div", Q, [
|
|
113
|
-
n(
|
|
113
|
+
n(o)("isMobile") ? (i(), a("div", ie, [
|
|
114
114
|
c("div", ae, [
|
|
115
115
|
c("div", se, [
|
|
116
|
-
(i(!0), a(B, null, C(n(l), (
|
|
116
|
+
(i(!0), a(B, null, C(n(l), (t, u) => (i(), a("div", {
|
|
117
117
|
key: u,
|
|
118
|
-
class: f(["label-item", { "label-item-active": s.value ===
|
|
119
|
-
onClick: (X) => g(
|
|
118
|
+
class: f(["label-item", { "label-item-active": s.value === t.code && n(o)("editPrivilege") == 0, noPermission: n(o)("editPrivilege") == 1 }]),
|
|
119
|
+
onClick: (X) => g(t)
|
|
120
120
|
}, [
|
|
121
121
|
c("div", re, [
|
|
122
122
|
c("img", {
|
|
123
123
|
class: "label-item-img",
|
|
124
|
-
src: n(r) + `/bim-viewer/annotation/new-icons/bimkk-mobile-anno-${s.value ===
|
|
124
|
+
src: n(r) + `/bim-viewer/annotation/new-icons/bimkk-mobile-anno-${s.value === t.code && n(o)("editPrivilege") == 0 ? t.imgActive : t.img}.svg`,
|
|
125
125
|
alt: ""
|
|
126
126
|
}, null, 8, le),
|
|
127
|
-
c("div", _e,
|
|
127
|
+
c("div", _e, R(n(y)(t.name)), 1)
|
|
128
128
|
])
|
|
129
129
|
], 10, ce))), 128))
|
|
130
130
|
])
|
|
131
131
|
])
|
|
132
132
|
])) : (i(), a("div", Y, [
|
|
133
|
-
n(
|
|
133
|
+
n(o)("annotationPos").pos.includes("top") ? (i(), a("div", Z)) : b("", !0),
|
|
134
134
|
c("div", {
|
|
135
|
-
class: f(["annotation_toolbar_wrapper", { annotation_toolbar_wrapper_disable: n(
|
|
135
|
+
class: f(["annotation_toolbar_wrapper", { annotation_toolbar_wrapper_disable: n(o)("editPrivilege") == 1 }])
|
|
136
136
|
}, [
|
|
137
137
|
c("div", ee, [
|
|
138
|
-
(i(!0), a(B, null, C(n(l), (
|
|
138
|
+
(i(!0), a(B, null, C(n(l), (t, u) => (i(), a("button", {
|
|
139
139
|
id: `annotation_tool_btn_${u}`,
|
|
140
140
|
key: u,
|
|
141
|
-
class: f(["annotation_tool_btn", { active: s.value ===
|
|
142
|
-
disabled: n(
|
|
143
|
-
onClick: (X) => g(
|
|
141
|
+
class: f(["annotation_tool_btn", { active: s.value === t.code }]),
|
|
142
|
+
disabled: n(o)("editPrivilege") == 1,
|
|
143
|
+
onClick: (X) => g(t)
|
|
144
144
|
}, [
|
|
145
145
|
b("", !0),
|
|
146
146
|
c("img", {
|
|
147
|
-
src: `${n(r)}/bim-viewer/action-bars/panno-${s.value !==
|
|
148
|
-
}, null, 8,
|
|
147
|
+
src: `${n(r)}/bim-viewer/action-bars/panno-${s.value !== t.code ? t.img : t.imgActive}.svg`
|
|
148
|
+
}, null, 8, te)
|
|
149
149
|
], 10, ne))), 128))
|
|
150
150
|
])
|
|
151
151
|
], 2),
|
|
152
|
-
n(
|
|
152
|
+
n(o)("annotationPos").pos.includes("bottom") ? (i(), a("div", oe)) : b("", !0)
|
|
153
153
|
])),
|
|
154
|
-
z(
|
|
154
|
+
U(z(W, {
|
|
155
155
|
"click-handle": () => {
|
|
156
156
|
A.value = !1;
|
|
157
157
|
}
|
|
158
158
|
}, null, 8, ["click-handle"]), [
|
|
159
|
-
[
|
|
159
|
+
[G, A.value && n(o)("editPrivilege") == 0]
|
|
160
160
|
])
|
|
161
161
|
]);
|
|
162
162
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ax as e, S as t, ay as o, az as i, Y as l, aA as n, aB as I, aC as r, aD as C, aE as f, aF as g, aG as B, aH as S, O as u } from "./index-s9bhlFsR.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BIMXViewer,
|
|
4
4
|
t as BIMX_CONFIGS,
|
|
@@ -11,7 +11,7 @@ export {
|
|
|
11
11
|
C as setConfigs,
|
|
12
12
|
f as setGlobalI18n,
|
|
13
13
|
g as setI18nInstance,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
B as setToolStatusById,
|
|
15
|
+
S as setToolStatusBykey,
|
|
16
|
+
u as useLocaleStore
|
|
17
17
|
};
|