@xtctwins/tctwins-bimx-engine 0.3.14 → 0.3.16
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/01.xtc +0 -0
- package/dist/02.xtc +0 -0
- package/dist/03.xtc +0 -0
- package/dist/{AnnotationTool-CteDVdjW.mjs → AnnotationTool-nASKNjgr.mjs} +19 -19
- package/dist/BIMX_Viewer_Lib.es.js +6 -6
- package/dist/BIMX_Viewer_Lib.umd.js +166 -216
- package/dist/{CameraViewTool-T8acWRci.mjs → CameraViewTool-DhAfiKWu.mjs} +31 -31
- package/dist/{CommentTool-6Bjd87ri.mjs → CommentTool-a-BELMsU.mjs} +189 -189
- package/dist/{HiddenTool-cf_s5erB.mjs → HiddenTool-CqWfECbU.mjs} +13 -13
- package/dist/{InspectorTool-cXUQlhyS.mjs → InspectorTool-x0VVNWza.mjs} +12 -12
- package/dist/{MeasureTool-BipLSGw7.mjs → MeasureTool-DznYUEiR.mjs} +120 -120
- package/dist/{MouseTool-DGBE-edy.mjs → MouseTool-D8x8R2Hl.mjs} +8 -8
- package/dist/{NavigateTool-zSUmWXN2.mjs → NavigateTool-D16vm_Ng.mjs} +8 -8
- package/dist/{OperateTool-C15IxBPv.mjs → OperateTool-_E-8qp5I.mjs} +38 -38
- package/dist/{RoamTool-DRNu4bLS.mjs → RoamTool-ClbGAw0m.mjs} +15 -15
- package/dist/ScreenShotTool-BLHWBbYl.mjs +356 -0
- package/dist/{SectionTool-B9a0BliD.mjs → SectionTool-BduU5qr3.mjs} +70 -70
- package/dist/SettingTool-Dd-fS2IZ.mjs +1508 -0
- package/dist/StructureTree-Byfx-R9w.mjs +1582 -0
- package/dist/{alert-DVn5lHZn.mjs → alert-GVU1wFz1.mjs} +5 -5
- package/dist/{index-CXNtm8Fi.mjs → index-CdBeaeTl.mjs} +56655 -59801
- package/dist/{panel.vue_vue_type_style_index_0_lang-BuMjq_s_.mjs → panel.vue_vue_type_style_index_0_lang-BsP4zr2g.mjs} +1 -1
- package/dist/style.css +3 -3
- package/dist/{tallPanel-GRXOYaO1.mjs → tallPanel-B5pNGD_G.mjs} +10 -10
- package/package.json +1 -1
- package/types/App.vue.d.ts +1 -3
- package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +10 -38
- package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +22 -0
- package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +9 -37
- package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +7 -5
- package/types/components/BCFComponents/BCFFilter.vue.d.ts +7 -5
- package/types/components/BCFComponents/BCFTool.vue.d.ts +7 -4
- package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +7 -5
- package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +6 -5
- package/types/components/BCFComponents/commentInput.vue.d.ts +11 -37
- package/types/components/BCFComponents/commentsView.vue.d.ts +7 -36
- package/types/components/BCFComponents/dialogPanel.vue.d.ts +8 -5
- package/types/components/BCFComponents/imageView.vue.d.ts +8 -6
- package/types/components/BCFComponents/imageZoomIn.vue.d.ts +6 -5
- package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +1 -18
- 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 +1 -32
- package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +8 -6
- package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +5 -4
- package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
- package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +1 -270
- package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +7 -291
- package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +6 -5
- 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 +6 -4
- package/types/components/BimViewerComponents/StructureTree.vue.d.ts +1 -11642
- package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/emptyPage.vue.d.ts +8 -0
- package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +10 -0
- package/types/components/BimxViewerComp.vue.d.ts +23 -7
- package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +10 -37
- package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +9 -37
- package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +7 -291
- package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +1 -270
- package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +8 -5
- package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +12 -38
- package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +9 -7
- package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +7 -5
- package/types/components/bimxViewer.vue.d.ts +27 -0
- 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 +2 -8
- package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
- package/types/components/utilsComponents/rectangleButton.vue.d.ts +1 -3
- package/types/components/utilsComponents/tallPanel.vue.d.ts +3 -13
- package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +3 -13
- package/types/i18n/index.d.ts +24 -0
- package/types/i18n/locales/en-US.d.ts +6 -0
- package/types/i18n/locales/zh-CN.d.ts +6 -0
- package/types/pages/BimxViewerEntry.vue.d.ts +66 -4
- package/types/pages/viewerEntry.vue.d.ts +116 -0
- package/types/store/bcfReflect.d.ts +1 -1
- package/types/store/toolbars.d.ts +50 -50
- package/types/tests/cmt.d.ts +1 -0
- package/types/utils/eventBus.d.ts +1 -1
- package/types/viewerManager/initial/viewerInitial.d.ts +1 -0
- package/types/viewerManager/load/loadModel.d.ts +28 -6
- package/types/viewerManager/sectionManager.d.ts +25 -25
- package/dist/ScreenShotTool-7EXcMhsh.mjs +0 -429
- package/dist/SettingTool-C9IagqKW.mjs +0 -1745
- package/dist/StructureTree-Ktdt3a3q.mjs +0 -1685
package/dist/01.xtc
ADDED
|
Binary file
|
package/dist/02.xtc
ADDED
|
Binary file
|
package/dist/03.xtc
ADDED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as D } from "./alert-
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import {
|
|
1
|
+
import { _ as D } from "./alert-GVU1wFz1.mjs";
|
|
2
|
+
import { defineComponent as O, ref as p, watch as q, onMounted as H, onBeforeUnmount as R, 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 U, withDirectives as z, createVNode as F, vShow as j } from "vue";
|
|
3
|
+
import { n as G, o as J, p as o, q as v, a7 as l, O as r, y as K } from "./index-CdBeaeTl.mjs";
|
|
4
4
|
const Q = { class: "annotation_component" }, Y = {
|
|
5
5
|
key: 0,
|
|
6
6
|
id: "annotation_toolbar",
|
|
@@ -14,25 +14,25 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
14
14
|
}, ie = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "mobile_annotation_toolbar"
|
|
17
|
-
}, ae = { class: "anno_toolList" }, se = { class: "label-list" }, ce = ["onClick"], le = { class: "item-img" }, re = ["src"], _e = { class: "item-name" }, de = /* @__PURE__ */
|
|
17
|
+
}, ae = { class: "anno_toolList" }, se = { class: "label-list" }, ce = ["onClick"], le = { class: "item-img" }, re = ["src"], _e = { class: "item-name" }, de = /* @__PURE__ */ O({
|
|
18
18
|
__name: "AnnotationTool",
|
|
19
19
|
props: ["componentId"],
|
|
20
20
|
emits: ["uploadImage", "clickAnnotation", "emitHandler"],
|
|
21
|
-
setup(
|
|
22
|
-
const
|
|
23
|
-
|
|
21
|
+
setup(y, { emit: $ }) {
|
|
22
|
+
const P = G(), w = J(), S = $, d = (e) => {
|
|
23
|
+
S("emitHandler", e);
|
|
24
24
|
};
|
|
25
25
|
let T;
|
|
26
|
-
const A =
|
|
26
|
+
const A = p(!0), s = p("");
|
|
27
27
|
let m;
|
|
28
|
-
const
|
|
29
|
-
|
|
28
|
+
const M = p(), h = y;
|
|
29
|
+
q(
|
|
30
30
|
() => w.isToolActive(h.componentId),
|
|
31
31
|
(e) => {
|
|
32
32
|
e || (s.value = "");
|
|
33
33
|
}
|
|
34
|
-
),
|
|
35
|
-
|
|
34
|
+
), H(() => {
|
|
35
|
+
M.value = o("annoLimit"), w.setReadyById(h.componentId);
|
|
36
36
|
});
|
|
37
37
|
const x = {
|
|
38
38
|
image: `${r}/BIMX_Website/main/mainView/function_icon/annotation_icons/image_active.png`,
|
|
@@ -75,7 +75,7 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
75
75
|
const I = (e) => {
|
|
76
76
|
g(L(e.type));
|
|
77
77
|
};
|
|
78
|
-
v.on("setAnnoStatus", I),
|
|
78
|
+
v.on("setAnnoStatus", I), R(() => {
|
|
79
79
|
v.off("BimViewer", k), v.off("setAnnoStatus", I);
|
|
80
80
|
});
|
|
81
81
|
const L = (e) => {
|
|
@@ -123,13 +123,13 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
123
123
|
src: n(r) + `/bim-viewer/annotation/new-icons/bimkk-mobile-anno-${s.value === t.code && n(o)("editPrivilege") == 0 ? t.imgActive : t.img}.svg`,
|
|
124
124
|
alt: ""
|
|
125
125
|
}, null, 8, re),
|
|
126
|
-
c("div", _e,
|
|
126
|
+
c("div", _e, U(n(P)(t.name)), 1)
|
|
127
127
|
])
|
|
128
128
|
], 10, ce))), 128))
|
|
129
129
|
])
|
|
130
130
|
])
|
|
131
131
|
])) : (i(), a("div", Y, [
|
|
132
|
-
n(o)("annotationPos").pos.includes("top") ? (i(), a("div", Z)) :
|
|
132
|
+
n(o)("annotationPos").pos.includes("top") ? (i(), a("div", Z)) : b("", !0),
|
|
133
133
|
c("div", {
|
|
134
134
|
class: f(["annotation_toolbar_wrapper", { annotation_toolbar_wrapper_disable: n(o)("editPrivilege") == 1 }])
|
|
135
135
|
}, [
|
|
@@ -141,21 +141,21 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
141
141
|
disabled: n(o)("editPrivilege") == 1,
|
|
142
142
|
onClick: (X) => g(t)
|
|
143
143
|
}, [
|
|
144
|
-
|
|
144
|
+
b("", !0),
|
|
145
145
|
c("img", {
|
|
146
146
|
src: `${n(r)}/bim-viewer/action-bars/panno-${s.value !== t.code ? t.img : t.imgActive}.svg`
|
|
147
147
|
}, null, 8, te)
|
|
148
148
|
], 10, ne))), 128))
|
|
149
149
|
])
|
|
150
150
|
], 2),
|
|
151
|
-
n(o)("annotationPos").pos.includes("bottom") ? (i(), a("div", oe)) :
|
|
151
|
+
n(o)("annotationPos").pos.includes("bottom") ? (i(), a("div", oe)) : b("", !0)
|
|
152
152
|
])),
|
|
153
|
-
|
|
153
|
+
z(F(W, {
|
|
154
154
|
"click-handle": () => {
|
|
155
155
|
A.value = !1;
|
|
156
156
|
}
|
|
157
157
|
}, null, 8, ["click-handle"]), [
|
|
158
|
-
[
|
|
158
|
+
[j, A.value && n(o)("editPrivilege") == 0]
|
|
159
159
|
])
|
|
160
160
|
]);
|
|
161
161
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aC as e, C as t, aD as o, aJ as i, V as l, aG as n, aH as I, aM as r, aE as C, aI as f, aF as g, aK as M, aL as u, z as B } from "./index-CdBeaeTl.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BIMXViewer,
|
|
4
4
|
t as BIMX_CONFIGS,
|
|
@@ -8,10 +8,10 @@ export {
|
|
|
8
8
|
n as bimxMessages,
|
|
9
9
|
I as defaultI18nConfig,
|
|
10
10
|
r as setAllToolClose,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
C as setConfigs,
|
|
12
|
+
f as setGlobalI18n,
|
|
13
|
+
g as setI18nInstance,
|
|
14
14
|
M as setToolStatusById,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
u as setToolStatusBykey,
|
|
16
|
+
B as useLocaleStore
|
|
17
17
|
};
|